]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix driver offchannel notification when the channel does not change
authorFelix Fietkau <nbd@openwrt.org>
Thu, 29 Jul 2010 15:36:43 +0000 (17:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:23:43 +0000 (15:23 -0400)
commitb09336f699ef7c05112a7ff4cad2dcda2a9f2e66
treeb27593154b333ccc9797f834bcc2e6f19fed39f6
parentc405891955821e0bc272d8347b03fe42d56db53f
mac80211: fix driver offchannel notification when the channel does not change

When running in client mode and associating to an AP, the channel
change is usually performed with the offchannel flag still set.
However after the assoc is complete, the following channel change event
is suppressed because the run time channel is already set to the operating channel.
Fix this by sending channel change notifications to the driver even if
only the offchannel flag changes.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c