OSDN Git Service

rsi: add fix for crash during assertions
authorSanjay Konduri <sanjay.konduri@redpinesignals.com>
Tue, 15 May 2018 09:04:30 +0000 (14:34 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 May 2018 08:02:21 +0000 (11:02 +0300)
commitabd39c6ded9db53aa44c2540092bdd5fb6590fa8
tree20c6e8cdaedb15de9e1b6320fb3bea14c44f5de2
parent88001968245c42c26416476bf0ef960442371605
rsi: add fix for crash during assertions

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>
drivers/net/wireless/rsi/rsi_91x_mac80211.c