Files
linux/drivers
Ping-Ke Shih 5d44f06723 rtw89: Fix variable dereferenced before check 'sta'
The pointer rtwsta is dereferencing pointer sta before sta is being null
checked. Fix this by assigning sta->drv_priv to rtwsta only if sta is not
NULL, otherwise just NULL.

Fixes: e3ec7017f6 ("rtw89: add Realtek 802.11ax driver")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211022061242.8383-1-pkshih@realtek.com
2021-10-27 10:37:59 +03:00
..
2021-09-08 11:50:26 -07:00
2021-07-21 11:53:42 +02:00
2021-09-20 12:43:34 +01:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-08-14 15:54:09 -06:00