commit | ae1671318e602860970c7020f3b23f2349dda757 | [log] [tgz] |
---|---|---|
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | Tue Nov 25 11:46:59 2014 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Nov 26 08:37:26 2014 +0200 |
tree | 18f09160fb4ef2dbdd8b0318458c74ee0efc33bc | |
parent | 504f6cdf4ac3dfcf645453b5cd65dcc9aed0e1b9 [diff] |
ath10k: fix locking for WEP keys peer->keys needs to be protected by data_lock since it is also accessed from the WMI path. Both install() and clear() routines for peer keys modify the key contents, so use the data_lock to avoid races. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>