Opened 5 years ago

Last modified 4 years ago

#13164 new defect

LUCI bug in wifi_overview.htm

Reported by: choogenboom Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


ATTITUDE ADJUSTMENT (Attitude Adjustment, r35864)
Powered by LuCI 0.11 Branch (0.11+svn9668)
OpenWrt Attitude Adjustment 12.09-rc1

this line

var is_assoc = (iw.bssid && iw.bssid != '00:00:00:00:00:00' &&;

references an undefined vraiable, whihc in turn causes is_assoc to be undefined, whihc in turn causes the attribute 'active' to be undefined which in turn causes all calls to function wifi_shutdown to result in a link shutdown.

Also, the same page, the button always shows Disable until you set teh channel from a number to auto.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by anonymous

I believe this is fixed by changing teh offending line to:

var is_assoc = (iw.bssid && iw.bssid != '00:00:00:00:00:00' && iw.up);

as iw.up is a boolean that seems to be conveniently defined and tells us what we want to know, th enetwork is or is not associated. Seems that associated and up are synonymous? Likely the bssid tests could be removed but I'll leave that for the owner to decide.

comment:2 Changed 5 years ago by jow

  • Priority changed from normal to response-needed

Attach your wireless config please.

comment:3 Changed 5 years ago by choogenboom

config wifi-device 'radio0'

option type 'mac80211'
option macaddr '90:f6:52:76:4d:e2'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option channel '6'
option txpower '27'
option country 'US'

config wifi-iface

option ssid 'xxxxxxxxxxxxx'
option encryption 'psk'
option device 'radio0'
option mode 'sta'
option bssid '00:23:69:44:33:77'
option key 'xxxxxxxxxxxxx'
option network 'wwan lan'

comment:4 Changed 4 years ago by jow

  • 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.