mac80211: config hw when going back on-channel
authorEliad Peller <eliad@wizery.com>
Thu, 20 Oct 2011 17:05:50 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:37:12 +0000 (09:37 -0800)
commit42c6d01ce89d43598fc804cf7c141d3252fe93b5
treef9ef34fe7b4368a814949d62ffbcab57bd72d4fc
parent632abf8b3f714da01daec2d43ffd9cd7b47f53a9
mac80211: config hw when going back on-channel

commit 6911bf0453e0d6ea8eb694a4ce67a68d071c538e upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/work.c