android_kernel_xiaomi_sm8350/net/wireless
Jouni Malinen 0bfbce18b9 nl80211: Avoid AP mode BUG_ON hang with invalid lock assert
"cfg80211: add assert_cfg80211_lock() to ensure proper protection"
added assert_cfg80211_lock() calls into various places. At least
one of them, nl80211_send_wiphy(), should not have been there. That
triggers the BUG_ON in assert_cfg80211_lock() and pretty much kills
the kernel whenever someone runs hostapd.. Remove that call and make
assert_cfg80211_lock() use WARN_ON instead of BUG_ON to be a bit more
friendly to users.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-27 14:53:04 -05:00
..
core.c cfg80211: Add AP beacon regulatory hints 2009-02-27 14:52:59 -05:00
core.h nl80211: Avoid AP mode BUG_ON hang with invalid lock assert 2009-02-27 14:53:04 -05:00
Kconfig cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
lib80211_crypt_ccmp.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211_crypt_tkip.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211_crypt_wep.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211.c lib80211: consolidate crypt init routines 2008-11-21 11:08:17 -05:00
Makefile cfg80211/nl80211: scanning (and mac80211 update to use it) 2009-02-13 13:45:49 -05:00
nl80211.c nl80211: Avoid AP mode BUG_ON hang with invalid lock assert 2009-02-27 14:53:04 -05:00
nl80211.h wireless: fix for CONFIG_NL80211=n 2009-02-27 14:52:35 -05:00
radiotap.c
reg.c cfg80211: pass the regulatory_request to ignore_request 2009-02-27 14:53:00 -05:00
reg.h cfg80211: make __regulatory_hint() static 2009-02-27 14:52:59 -05:00
scan.c cfg80211: Add AP beacon regulatory hints 2009-02-27 14:52:59 -05:00
sysfs.c cfg80211: rename cfg80211_registered_device's idx to wiphy_idx 2009-02-27 14:52:54 -05:00
sysfs.h
util.c wireless: restrict to 32 legacy rates 2009-01-29 16:01:09 -05:00
wext-compat.c mac80211/cfg80211: move iwrange handler to cfg80211 2009-02-27 14:52:42 -05:00
wext.c wireless: convert wireless ioctl to net_device_ops 2009-01-06 10:42:24 -08:00