]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Be more careful when changing channels.
authorBen Greear <greearb@candelatech.com>
Fri, 28 Jan 2011 18:20:47 +0000 (10:20 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Feb 2011 21:38:26 +0000 (16:38 -0500)
commit2fa9a74735f213ad8ed33e9332524cbc768124ee
treea614d9ac017bed033d14505fe47d938ae307c27a
parent14754672e58ae35d7a54de48542496a68fbe69da
mac80211: Be more careful when changing channels.

If we cannot set the channel type, set the channel back to the
original.

Don't update the driver hardware if nothing actually changed.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c