summaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorSanjay Konduri <sanjay.konduri@redpinesignals.com>2018-05-15 14:34:30 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 08:18:35 +0100
commit80427a7b1195e7946992baffeb112b2635245198 (patch)
tree42b8466d61c4059ed926f37d05e55ecd8804b3f8 /net/wireless/util.c
parentacebe8464be16133c656c5578e325ee69db12166 (diff)
rsi: add fix for crash during assertions
commit abd39c6ded9db53aa44c2540092bdd5fb6590fa8 upstream. Observed crash in some scenarios when assertion has occurred, this is because hw structure is freed and is tried to get accessed in some functions where null check is already present. So, avoided the crash by making the hw to NULL after freeing. Signed-off-by: Sanjay Konduri <sanjay.konduri@redpinesignals.com> Signed-off-by: Sushant Kumar Mishra <sushant.mishra@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions