diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index bd3dcb1..95e5cd1 100755 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -8994,7 +8994,7 @@ static u32 rtw_append_assoc_req_owe_ie(_adapter *adapter, u8 *pbuf) if (sec == NULL) goto exit; - if (sec->owe_ie && sec->owe_ie_len > 0) { + if (&(sec->owe_ie) != NULL && sec->owe_ie_len > 0) { len = sec->owe_ie_len; _rtw_memcpy(pbuf, sec->owe_ie, len); }