[PATCH 2/3] ath10k: Fix locking for WEP keys

Kalle Valo kvalo at qca.qualcomm.com
Mon Nov 24 07:15:38 PST 2014

Sujith Manoharan <sujith at msujith.org> writes:

> From: Sujith Manoharan <c_manoha at qca.qualcomm.com>
> 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 at qca.qualcomm.com>

Can you also document the field with "protected by data_lock" in core.h?

Kalle Valo

More information about the ath10k mailing list