brcmfmac: don't realloc wiphy during PCIe reset
authorRafał Miłecki <rafal@milecki.pl>
Tue, 3 Sep 2019 04:29:28 +0000 (06:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 13:42:34 +0000 (16:42 +0300)
commita1f5aac1765afbeace9581afa27da34085f68e1d
tree19ebadb8c10458c04f14b62595c9e8bb1dac783a
parent450914c39f88d1adada26256360dea7050ff4e83
brcmfmac: don't realloc wiphy during PCIe reset

Providing a new wiphy on every PCIe reset was confusing and was causing
configuration problems for some users (supplicant and authenticators).
Sticking to the existing wiphy should make error recovery much simpler
and more reliable.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c