Colin Ian King 74ee436f95 rsi: fix missing null pointer check from a failed ieee80211_probereq_get call
The call to ieee80211_probereq_get can return NULL if a skb allocation
fails, so add a null pointer check and free an earlier skb on the error
exit return path.

Fixes: 7fdcb8e12660 ("rsi: add support for hardware scan offload")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-02-28 10:28:36 +02:00
..
2018-03-27 10:11:58 +03:00
2018-03-13 18:36:57 +02:00
2019-02-19 17:08:47 +02:00
2019-02-19 17:08:47 +02:00
2019-02-19 17:08:47 +02:00
2019-02-19 17:08:47 +02:00
2018-03-13 18:36:57 +02:00
2018-07-31 10:15:53 +03:00
2018-07-31 10:15:53 +03:00