mac80211: config hw when going back on-channel
authorEliad Peller <eliad@wizery.com>
Thu, 20 Oct 2011 17:05:50 +0000 (19:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Nov 2011 19:23:11 +0000 (15:23 -0400)
commit6911bf0453e0d6ea8eb694a4ce67a68d071c538e
tree2653b4e2bdbd438b0e9c9872084099308eccf2ce
parenteaa7af2ae582c9a8c51b374c48d5970b748a5ce2
mac80211: config hw when going back on-channel

When going back on-channel, we should reconfigure
the hw iff the hardware is not already configured
to the operational channel.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Cc: stable@kernel.org # 2.6.39+
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/work.c