mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-29 23:43:40 +00:00
rtl8188eu: Possible fix for iwd crash
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
1201a7a51f
commit
57bd21c563
1 changed files with 2 additions and 0 deletions
|
@ -2023,6 +2023,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 a new issue