Opened 5 years ago

Last modified 4 years ago

#11996 new defect

madwifi: [31082] breaks adhoc mode without encryption

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: madwifi, adhoc Cc: Antonio, Quartulli, <ordex@…>


I'm currently using OpenWrt trunk rev. 33006 and wasn't able to set an atheros card with madwifi into adhoc mode anymore. I see that interface for a few seconds but then it gets destroyed again due to the new lines added. This happens both with 'option encryption none' or having that option not present at all. Reverting commit [31082] fixes this issue for me.


config wifi-device radio0
    option type atheros
    option channel 11
    option phy wifi0

config wifi-iface
    option device radio0
    option mode adhoc
    option bssid 02:84:48:48:84:48
    option ssid testnet-adhoc

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

Hmm, and it looks like this happens because of the final '[ -z .... != 'NONE' ]' expression in /lib/wifi/ So not having that last statement executed is fine and expected, but I guess the return code of 1 due to the failed expression is not intended, is it?

comment:2 Changed 4 years ago by jow

  • Cc Antonio Quartulli <ordex@…> added; Antonio Quartulli <ordex@…> removed
  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.