mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Possible fix for iwd crash
This commit is contained in:
parent
ccda185731
commit
96b013c38a
@ -2810,6 +2810,8 @@ static int rtw_cfg80211_set_probe_req_wpsp2pie(_adapter *padapter, char *buf, in
|
|||||||
RTW_INFO("%s, ielen=%d\n", __func__, len);
|
RTW_INFO("%s, ielen=%d\n", __func__, len);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (!pmlmepriv)
|
||||||
|
return -EINVAL;
|
||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen);
|
wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen);
|
||||||
if (wps_ie) {
|
if (wps_ie) {
|
||||||
|
Loading…
Reference in New Issue
Block a user