wil6210: fix race between xmit and Tx vring de-allocation
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Sun, 1 Feb 2015 08:55:13 +0000 (10:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:36:34 +0000 (15:36 +0200)
commit5933a06dc96cad21b7c125995791c93a86be7915
treecee8a4f99f6329f43595c9d03df5120d9b40daf8
parente59d16c08b3aa147f5c3c664d5dfda77fa93a827
wil6210: fix race between xmit and Tx vring de-allocation

Use spinlock, this should not impact Tx as lock is always free
except for de-allocation.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/wil6210.h