mac80211: config hw when going back on-channel
commita7870d687773d35a18bc5af7fc7a81963fe2fa02
authorEliad Peller <eliad@wizery.com>
Thu, 20 Oct 2011 17:05:50 +0000 (20 19:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:44 +0000 (11 09:44 -0800)
treea31cc1706d10a16e7b3526b15fd7d8d922847443
parent0ecc0ae0b8a9d86cd1adc68506c5d4bd77d740cc
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