]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: Cache nv to avoid request_firmware on resume path
authorPontus Fuchs <pontus.fuchs@gmail.com>
Wed, 12 Feb 2014 19:04:43 +0000 (19:04 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 20:20:17 +0000 (15:20 -0500)
commit589b0abcde426a1e20836d7ec462e38501fb1559
tree14a6dd93dbac13b9c166dfa1aac78942077e2f1b
parenta6e78a3ab3fbd9efe9fcb5b6d16e2c7f2a2725e6
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>
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/smd.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h