1
0
Fork 0
alistair23-linux/net/wireless
Abhijeet Kolekar 5f6120335c cfg80211: fix channel setting for wext
Patch fixes the bug at
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2139

Currently we cannot set the channel using wext extension
if we have already associated and disconnected. As
cfg80211_mgd_wext_siwfreq will not switch the channel if ssid is set.
This fixes it by clearing the ssid.
Following is the sequence which it tries to fix.
modprobe iwlagn
iwconfig wlan0 essid ""
ifconfig wlan0 down
iwconfig wlan0 chan X

wext is marked as deprecate.If we use nl80211 we can easily play with
setting the channel.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-01-14 17:14:58 -05:00
..
Kconfig cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
Makefile wireless: implement basic ethtool support for cfg80211 devices 2009-10-07 16:39:45 -04:00
chan.c
core.c cfg80211: fix refcount imbalance when wext is disabled 2010-01-11 19:37:09 -05:00
core.h wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
debugfs.c cfg80211/mac80211: use debugfs_remove_recursive 2009-10-30 16:49:18 -04:00
debugfs.h cfg80211/mac80211: use debugfs_remove_recursive 2009-10-30 16:49:18 -04:00
ethtool.c cfg80211: add firmware and hardware version to wiphy 2009-10-07 16:39:46 -04:00
ethtool.h net/wireless/ethtool.h: drop unnecessary include of linux/ethtool.h 2009-10-07 16:39:49 -04:00
ibss.c wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mlme.c cfg80211: fix race between deauth and assoc response 2009-12-28 16:19:54 -05:00
nl80211.c nl80211: PMKSA caching support 2009-11-28 15:05:05 -05:00
nl80211.h
radiotap.c
reg.c cfg80211: fix syntax error on user regulatory hints 2010-01-04 16:12:00 -05:00
reg.h
scan.c cfg80211: fix error path in cfg80211_wext_siwscan 2009-12-28 16:19:58 -05:00
sme.c cfg80211: fix channel setting for wext 2010-01-14 17:14:58 -05:00
sysfs.c
sysfs.h
util.c cfg80211: disallow bridging managed/adhoc interfaces 2009-11-19 11:08:54 -05:00
wext-compat.c cfg80211: Clear encryption privacy when key off is done. 2009-12-09 15:10:08 -05:00
wext-compat.h
wext-core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-12-04 13:25:15 -08:00
wext-priv.c wext: refactor 2009-10-07 16:39:43 -04:00
wext-proc.c wext: refactor 2009-10-07 16:39:43 -04:00
wext-sme.c cfg80211: don't set privacy w/o key 2009-09-28 16:55:04 -04:00
wext-spy.c wext: refactor 2009-10-07 16:39:43 -04:00