summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/txrx.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2016-04-07 09:41:54 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-04-19 18:10:46 +0300
commit1ce8c1484e80010a6e4b9611c65668ff77556f45 (patch)
tree64ccac4e498df58b0c04b7e2809d6114cfe4cd34 /drivers/net/wireless/ath/ath10k/txrx.c
parent87be054a30de1d48a4c9850543080b8cc9854d2c (diff)
downloadlinux-1ce8c1484e80010a6e4b9611c65668ff77556f45.tar.xz
ath10k: fix rx_channel during hw reconfigure
Upon firmware assert, restart work will be triggered so that mac80211 will reconfigure the driver. An issue is reported that after restart work, survey dump data do not contain in-use (SURVEY_INFO_IN_USE) info for operating channel. During reconfigure, since mac80211 already has valid channel context for given radio, channel context iteration return num_chanctx > 0. Hence rx_channel is always NULL. Fix this by assigning channel context to rx_channel when driver restart is in progress. Cc: stable@vger.kernel.org Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/txrx.c')
0 files changed, 0 insertions, 0 deletions