linux/drivers/net/wireless/marvell
Wei-Ning Huang 65c71efe1c mwifiex: fix racing condition when downloading firmware
The action 'check for winner' and 'download firmware' should be an
atomic action. This is true for btmrvl driver but not mwmfiex, which
cause firmware download to fail when the following senerio happens:

1) mwifiex check winner status: true
2) btmrvl check winner status: true, and start downloading firmware
3) mwfieix tries to download firmware, but failed because btmrvl is
already downloading.

This won't happen if 1) and 3) is an atomic action. This patch adds
sdio_claim/release_host call around those two actions to make sure it's
atomic.

Signed-off-by: Wei-Ning Huang <wnhuang@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-06-14 17:24:16 +03:00
..
libertas cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
libertas_tf cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
mwifiex mwifiex: fix racing condition when downloading firmware 2016-06-14 17:24:16 +03:00
Kconfig
Makefile
mwl8k.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00