netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Apr 2015 10:52:01 +0000 (10:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 11 Apr 2015 10:52:01 +0000 (10:52 +0000)
commit0364c3e06db789dd00c2aae19a47e7f8921ac3da
treed85b0e896e7e3fe43185fdfd33e2c2a1c474b7a3
parent70029b1bdcbb8e2de8e0309a1957f17d295ae94b
netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)

Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 45380
package/network/services/hostapd/files/netifd.sh