OSDN Git Service

rtw88: enclose c2h cmd handle with mutex
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 31 Jul 2019 12:22:46 +0000 (20:22 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:42:12 +0000 (15:42 +0300)
commit713a30de45a2ec8619228280e4832b5d6a34e759
tree56e115b0cbe0a38a398bbfe415abc14b1555b58a
parent0d762f031d702272a17910fbeb45ab15b9673617
rtw88: enclose c2h cmd handle with mutex

C2H commands that cannot be handled in IRQ context should
be protected by rtwdev->mutex. Because they might have a
sequece of hardware operations that does not want to be
interfered.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.c