]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix channel switching
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 3 Jun 2015 10:16:56 +0000 (12:16 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Jun 2015 10:46:59 +0000 (13:46 +0300)
commit4c5fe7a63fcaa73addd34923117e284bbedbe264
treeed122f518f5c1cb6045eb2729d5c60240ba9174b
parent0d15cdb38d7f92df61e8a575c092f4b3520b3f94
ath10k: fix channel switching

In the midst of chanctx patch review channel
switching became broken which I failed to notice
until now.

Function ath10k_mac_vif_chan() reports current
chandef which isn't updated until after
switch_vif_chanctx() is returned from.
Consequently the driver just restarted operation
on channels it was residing already instead of
switching to the new ones.

Fixes: 54786d0a504e ("ath10k: implement chanctx API")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c