|
@@ -1311,7 +1311,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,
|
|
|
}
|
|
|
|
|
|
if (beacon->bCkipSupported) {
|
|
|
- static u8 AironetIeOui[] = {0x00, 0x01, 0x66};
|
|
|
+ static const u8 AironetIeOui[] = {0x00, 0x01, 0x66};
|
|
|
u8 CcxAironetBuf[30];
|
|
|
struct octet_string osCcxAironetIE;
|
|
|
|
|
@@ -1331,10 +1331,11 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,
|
|
|
}
|
|
|
|
|
|
if (beacon->bCcxRmEnable) {
|
|
|
- static u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01, 0x00};
|
|
|
+ static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01,
|
|
|
+ 0x00};
|
|
|
struct octet_string osCcxRmCap;
|
|
|
|
|
|
- osCcxRmCap.Octet = CcxRmCapBuf;
|
|
|
+ osCcxRmCap.Octet = (u8 *) CcxRmCapBuf;
|
|
|
osCcxRmCap.Length = sizeof(CcxRmCapBuf);
|
|
|
tag = skb_put(skb, ccxrm_ie_len);
|
|
|
*tag++ = MFIE_TYPE_GENERIC;
|