]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Update device channel in case of HW channel switch supported
authorShahar Levi <shahar_levi@ti.com>
Thu, 8 Sep 2011 05:44:05 +0000 (08:44 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:52 +0000 (13:56 -0400)
commit1d9740f1652d72ee56d785bf52d42183165e35ce
treec8f52d94f2d634dd36693f047a5a7560c2e37393
parentf003773de1c14782ee3feb0ca14ee548a0317bfd
mac80211: Update device channel in case of HW channel switch supported

The hw.conf.channel value is not updated properly for drivers that
support HW channel switch.  Since the switch is done entirely by the
driver and we don't call ieee80211_hw_config(), this value remains
untouched.  This patch fixes that by setting the new channel directly in
ieee80211_chswitch_work().

Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c