brcmfmac: move brcmf_bus_preinit() call just after changing bus state
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Mon, 19 Feb 2018 23:14:18 +0000 (00:14 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:21:23 +0000 (18:21 +0200)
commitda472385a29f1fddcac7cfa0499482704310bd16
treed452a9f4eef6acf92b78b45edfe4e9696ec452fd
parent864164683678e27c931b5909c72a001b1b943f36
brcmfmac: move brcmf_bus_preinit() call just after changing bus state

Moving the brcmf_bus_preinit() call allows the bus code to do some
required initialization before handling firmware control messages.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c