commit | 292a753d4b184ba6303d026edfe4e34145ce6905 | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Tue Nov 25 15:16:04 2014 +0100 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Nov 26 08:44:10 2014 +0200 |
tree | 4164db83336dfd7cbf4471b678d72e97ab7fb4a0 | |
parent | a52c0282721e8e2a39679f865dc5ec72005a948f [diff] |
ath10k: clean up num_peers locking The var was supposed to be protected by data_lock but it wasn't so in all instances. It's actually not necessary to have a spinlock protected num_peers so drop it. All instances of num_peers are already within conf_mutex sections so use that. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>