WSL2-Linux-Kernel/net/wireless
Luis R. Rodriguez 80778f18c0 nl80211: disallow user requests prior to regulatory_init()
If cfg80211 is built into the kernel there is perhaps a small
time window betwen nl80211_init() and regulatory_init() where
cfg80211_regdomain hasn't yet been initialized to let the
wireless core do its work. During that rare case and time
frame (if its even possible) we don't allow user regulatory
changes as cfg80211 is working on enabling its first regulatory
domain.

To check for cfg80211_regdomain we now contend the entire operation
using the cfg80211_mutex.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-27 14:52:55 -05:00
..
Kconfig cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
Makefile cfg80211/nl80211: scanning (and mac80211 update to use it) 2009-02-13 13:45:49 -05:00
core.c cfg80211: rename cfg80211_drv_mutex to cfg80211_mutex 2009-02-27 14:52:55 -05:00
core.h cfg80211: rename cfg80211_drv_mutex to cfg80211_mutex 2009-02-27 14:52:55 -05:00
lib80211.c lib80211: consolidate crypt init routines 2008-11-21 11:08:17 -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
nl80211.c nl80211: disallow user requests prior to regulatory_init() 2009-02-27 14:52:55 -05:00
nl80211.h wireless: fix for CONFIG_NL80211=n 2009-02-27 14:52:35 -05:00
radiotap.c wireless: use get/put_unaligned_* helpers 2008-05-14 16:29:32 -04:00
reg.c cfg80211: rename cfg80211_drv_mutex to cfg80211_mutex 2009-02-27 14:52:55 -05:00
reg.h cfg80211: add get reg command 2009-02-09 15:03:45 -05:00
scan.c cfg80211: clean up signal type 2009-02-27 14:52:42 -05:00
sysfs.c cfg80211: rename cfg80211_registered_device's idx to wiphy_idx 2009-02-27 14:52:54 -05:00
sysfs.h [WIRELESS] cfg80211: New wireless config infrastructure. 2007-04-25 22:29:41 -07:00
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