File warning.patch of Package rtl8822bu

diff -U 3 -H -d -r -N -- a/core/rtw_ap.c b/core/rtw_ap.c
--- a/core/rtw_ap.c	2020-03-23 04:19:00.000000000 +0100
+++ b/core/rtw_ap.c	2020-04-05 16:32:10.815791651 +0200
@@ -171,7 +171,7 @@
 	u8	bmatch = _FALSE;
 	u8	*pie = pnetwork->IEs;
 	u8	*p = NULL, *dst_ie = NULL, *premainder_ie = NULL, *pbackup_remainder_ie = NULL;
-	u32	i, offset, ielen, ie_offset, remainder_ielen = 0;
+	u32	i, offset, ielen = 0, ie_offset, remainder_ielen = 0;
 
 	for (i = sizeof(NDIS_802_11_FIXED_IEs); i < pnetwork->IELength;) {
 		pIE = (PNDIS_802_11_VARIABLE_IEs)(pnetwork->IEs + i);
openSUSE Build Service is sponsored by