mac80211: Allow scanning on existing channel-type.
authorBen Greear <greearb@candelatech.com>
Mon, 7 Feb 2011 21:44:35 +0000 (13:44 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Feb 2011 21:09:46 +0000 (16:09 -0500)
commit4f2e9d91f84ce39698517203974ffc2bcc32a21d
tree32a0b7b1856f4249ad7c2bdb39a757821fd90fff
parent4d51e149a6231ea9cc210795cbc358a7c9a8e016
mac80211: Allow scanning on existing channel-type.

Previous code set the channel type to NO_HT, but it
appears that NO_HT packets can be sent on any channel
type, so we do not need to change the channel type
as long as the channel is correct.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/scan.c