]> Pileus Git - ~andy/linux/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)
commitffd2778bb984afe3cc264e22a125c06587020aa3
treeb27593154b333ccc9797f834bcc2e6f19fed39f6
parent4d7ede7f5ad58c5316335b9018ddef58bd687def
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