summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/st/cw1200/sta.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-12-02 11:45:10 +0000
committerKalle Valo <kvalo@codeaurora.org>2015-12-11 13:14:10 +0200
commitb513cac22ad6527bd85042766afa8eacf1adffbe (patch)
treea5faafa90485402b4d2faca288a9798a338a0816 /drivers/net/wireless/st/cw1200/sta.c
parent133b7326e96031e69fcfb42d6f3040b563ce6464 (diff)
brcmfmac: only lock and unlock fws if fws is not null
There is a null ptr check for fws to set bcmc_credit_check, however, there a lock and unlock on fws should only performed if fwts is also not null to also avoid a potential null pointer deference. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/st/cw1200/sta.c')
0 files changed, 0 insertions, 0 deletions