mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-08-16 08:34:15 +02:00
Merge pull request #62 from AndyPi/master
Compile warning in ioctl_linux.c:8887:67: warning: iteration 16u invokes undefined behavior
This commit is contained in:
commit
c0996edba4
@ -11748,7 +11748,7 @@ u8 setkey_hdl(_adapter *padapter, u8 *pbuf)
|
||||
//write cam
|
||||
ctrl = BIT(15) | ((pparm->algorithm) << 2) | pparm->keyid;
|
||||
|
||||
DBG_871X_LEVEL(_drv_always_, "set group key to hw: alg:%d(WEP40-1 WEP104-5 TKIP-2 AES-4) "
|
||||
DBG_871X_LEVEL(_drv_info_, "set group key to hw: alg:%d(WEP40-1 WEP104-5 TKIP-2 AES-4) "
|
||||
"keyid:%d\n", pparm->algorithm, pparm->keyid);
|
||||
write_cam(padapter, pparm->keyid, ctrl, null_sta, pparm->key);
|
||||
|
||||
|
@ -877,7 +877,7 @@ static s32 update_attrib(_adapter *padapter, _pkt *pkt, struct pkt_attrib *pattr
|
||||
}
|
||||
}
|
||||
} else if (0x888e == pattrib->ether_type) {
|
||||
DBG_871X_LEVEL(_drv_always_, "send eapol packet\n");
|
||||
DBG_871X_LEVEL(_drv_info_, "send eapol packet\n");
|
||||
}
|
||||
|
||||
if ( (pattrib->ether_type == 0x888e) || (pattrib->dhcp_pkt == 1) )
|
||||
|
@ -48,7 +48,7 @@ enum _EFUSE_DEF_TYPE {
|
||||
TYPE_EFUSE_CONTENT_LEN_BANK = 6,
|
||||
};
|
||||
|
||||
#define EFUSE_MAX_MAP_LEN 256
|
||||
#define EFUSE_MAX_MAP_LEN 512
|
||||
#define EFUSE_MAX_HW_SIZE 512
|
||||
#define EFUSE_MAX_SECTION_BASE 16
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user