commit | b513cac22ad6527bd85042766afa8eacf1adffbe | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Dec 02 11:45:10 2015 +0000 |
committer | Kalle Valo <kvalo@codeaurora.org> | Fri Dec 11 13:14:10 2015 +0200 |
tree | a5faafa90485402b4d2faca288a9798a338a0816 | |
parent | 133b7326e96031e69fcfb42d6f3040b563ce6464 [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>