Skip to content

Commit ea79e60

Browse files
authored
Update rtw_ap.c
Solving the issue hardkernel#383
1 parent 87ac02b commit ea79e60

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/rtl8812au/core

1 file changed

+1
-1
lines changed

drivers/net/wireless/rtl8812au/core/rtw_ap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void rtw_add_bcn_ie(_adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index, u8 *d
194194
u8 bmatch = _FALSE;
195195
u8 *pie = pnetwork->IEs;
196196
u8 *p=NULL, *dst_ie=NULL, *premainder_ie=NULL, *pbackup_remainder_ie=NULL;
197-
u32 i, offset, ielen, ie_offset, remainder_ielen = 0;
197+
u32 i, offset, ielen=0, ie_offset, remainder_ielen = 0;
198198

199199
for (i = sizeof(NDIS_802_11_FIXED_IEs); i < pnetwork->IELength;) {
200200
pIE = (PNDIS_802_11_VARIABLE_IEs)(pnetwork->IEs + i);

0 commit comments

Comments
 (0)