diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-02-24 15:49:58 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 20:53:04 +0100 |
commit | 0bfbce18b9c11201ebf1cfbc0deeab7bdbfe32a5 (patch) | |
tree | 71e4bbfbf415dd5f5131a69fc8cd9ad2a0bd3edc /kernel/mutex.c | |
parent | ath9k: Unlock sc->mutex on error path (diff) | |
download | linux-0bfbce18b9c11201ebf1cfbc0deeab7bdbfe32a5.tar.xz linux-0bfbce18b9c11201ebf1cfbc0deeab7bdbfe32a5.zip |
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>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions