mac80211 : Fix setting ad-hoc mode and non-ibss channel
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Thu, 20 Nov 2008 18:20:31 +0000 (10:20 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2008 21:13:08 +0000 (16:13 -0500)
commit3dd3b79aeadc6f6abc5cc78724d7df3dfcc1bd0b
tree831eabe86c67c079f1cae81338530e43429009e5
parente91af0af8677198346d5d29f09ab39bb3b0e3faf
mac80211 : Fix setting ad-hoc mode and non-ibss channel

Patch fixes the kernel trace when user tries to set
ad-hoc mode on non IBSS channel.
e.g iwconfig wlan0 chan 36 mode ad-hoc

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c