]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
brcmfmac: do not load firmware when device is already running
authorArend van Spriel <arend@broadcom.com>
Sun, 25 Jan 2015 19:31:37 +0000 (20:31 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Jan 2015 07:59:07 +0000 (09:59 +0200)
commit86fec35e17c15f466ebf3f942b60d35d47929444
tree0cbca69f667110b27c61d8305bdc3737ea0c37e3
parent649f38ae9e482098da94d30f7f802621e66c6b74
brcmfmac: do not load firmware when device is already running

In brcmf_usb_probe_cb() the device is checked to determine whether
it is already running firmware. However, when no firmware download
is needed it still continues to request the firmware files. This
is fixed by returning after successful setup.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/usb.c