ath10k: fix patching mistake for AP/IBSS CSA
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 9 Mar 2015 13:19:24 +0000 (14:19 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Mar 2015 12:16:45 +0000 (14:16 +0200)
commit8513d95b4b6cd7029cca5aac3bedef25c25b64a0
tree61eb1811768f407d2f6d34875bc81501e618b215
parent9ff4be96ebd6e2a8d3bb18362e8868ed5bf40161
ath10k: fix patching mistake for AP/IBSS CSA

Mistakenly v1 of `ath10k: fix AP/IBSS CSA with
template based fw`
(81a9a17db5d766d2872c4ab8a77b8666d22031ec) was
applied.

This patch applies the missing bits from v2:
 * remove unnecessary locking
 * add some (sanity) checks

There are no practical functionality differences
between v1 and v2.

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
drivers/net/wireless/ath/ath10k/wmi-tlv.c