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)
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>

No differences found