During tests including automated connect and disconnect of the Raspberry Pi WiFi Dongle (USB dongle with BCM43143) a number of issues were detected, including a WARNING and Oops with NULL pointer dereference. With this patchset an attempt is made to fix those two issues. During the test the interface was configured in AP mode and the traffic was generated with iperf3 in a way that AP was a transmitting server at the moment of disconnect. Note that the patch was tested only on the aforementioned dongle. The issues were initially detected on LTS 4.19, but were reproduced on wireless-drivers-next/master and the patches apply on that tree. Piotr Figiel (2): brcmfmac: fix WARNING during USB disconnect in case of unempty psq brcmfmac: fix NULL pointer derefence during USB disconnect .../wireless/broadcom/brcm80211/brcmfmac/bcdc.c | 11 +++- .../wireless/broadcom/brcm80211/brcmfmac/bcdc.h | 6 ++- .../wireless/broadcom/brcm80211/brcmfmac/core.c | 4 +- .../broadcom/brcm80211/brcmfmac/fwsignal.c | 58 ++++++++++++++-------- .../broadcom/brcm80211/brcmfmac/fwsignal.h | 3 +- .../wireless/broadcom/brcm80211/brcmfmac/proto.c | 10 +++- .../wireless/broadcom/brcm80211/brcmfmac/proto.h | 3 +- 7 files changed, 64 insertions(+), 31 deletions(-) -- 2.7.4