diff options
author | Pontus Fuchs <pontus.fuchs@gmail.com> | 2014-02-12 20:04:43 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-13 21:20:17 +0100 |
commit | 4bda7faf619a609534bb99c860a0a32ec40b8fb6 (patch) | |
tree | 14a6dd93dbac13b9c166dfa1aac78942077e2f1b /drivers/net/wireless/ath/wcn36xx/wcn36xx.h | |
parent | wcn36xx: Wait longer for SMD commands to complete (diff) | |
download | linux-4bda7faf619a609534bb99c860a0a32ec40b8fb6.tar.xz linux-4bda7faf619a609534bb99c860a0a32ec40b8fb6.zip |
wcn36xx: Cache nv to avoid request_firmware on resume path
If wowlan if off mac80211 will stop / start the driver on suspend /
resume. This causes problems on resume since request_firmware is called
from start. Fix this by caching the nv.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/wcn36xx.h')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h index c5bd61cffc9e..0c5413f2c2e0 100644 --- a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h +++ b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h @@ -171,6 +171,8 @@ struct wcn36xx { struct device *dev; struct list_head vif_list; + const struct firmware *nv; + u8 fw_revision; u8 fw_version; u8 fw_minor; |