mt7601u: lock out rx path and tx status reporting
authorJakub Kicinski <kubakici@wp.pl>
Fri, 31 Jul 2015 13:04:49 +0000 (15:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 10 Aug 2015 19:19:35 +0000 (22:19 +0300)
commit78623bfb6f4cbdba3183621e8e0e781611217022
treeb1af2c6f9716d665a3be0e26a2ab06a85dae3103
parent4513493d188d5e3052aee68eda85eaaa1a4e41c2
mt7601u: lock out rx path and tx status reporting

mac80211 requires that rx path does not run concurrently with
tx status reporting.  Add a spinlock which will ensure that.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/dma.c
drivers/net/wireless/mediatek/mt7601u/init.c
drivers/net/wireless/mediatek/mt7601u/mac.c
drivers/net/wireless/mediatek/mt7601u/mt7601u.h
drivers/net/wireless/mediatek/mt7601u/tx.c