]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: activate user space firmware loading again
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 24 Aug 2017 21:06:41 +0000 (23:06 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 12:15:15 +0000 (15:15 +0300)
commite491484b476735b0379f32226963bcf3491e4fc3
treec48636a142b34b9fa900e16b115826ad063965ff
parentd3976798fec5e1df06d4634ef5840301cf101311
ath10k: activate user space firmware loading again

In commit 025b6316ddd6 ("ath10k: silence firmware file probing
warnings") the firmware loading was changed from request_firmware() to
request_firmware_direct() to silence some warnings in case it fails.
request_firmware_direct() directly searches in the file system only and
does not send a hotplug event to user space in case it could not find
the firmware directly.
In LEDE we use a user space script to extract the calibration data from
the flash memory which gets triggered by the hotplug event. This way the
firmware gets extracted from some vendor specific partition when the
driver requests this firmware. This mechanism does not work any more
after this change.

Fixes: 025b6316ddd6 ("ath10k: silence firmware file probing warnings")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c