summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorMiaoqing Pan <miaoqing@codeaurora.org>2017-06-27 16:31:55 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2017-06-28 18:54:43 +0200
commitf23cdfb3fe8f6e3502b8aebb819edf5669c1d802 (patch)
treeebafab2c4a03b99e7fc29f76e1231f5bc7bb06a3 /drivers/net/wireless/ath/ath10k/pci.c
parentath9k: avoid potential freezing during random generator read (diff)
downloadlinux-f23cdfb3fe8f6e3502b8aebb819edf5669c1d802.tar.xz
linux-f23cdfb3fe8f6e3502b8aebb819edf5669c1d802.zip
ath9k: Use mutex_lock to avoid potential race in start/stop rng
Move ath9k_rng_stop/ath9k_rng_start pair into critical section, use mutex_lock to void potential race accessing. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
0 files changed, 0 insertions, 0 deletions