|
@@ -243,9 +243,9 @@ enum WIFI_REG_DOMAIN {
|
|
|
|
|
|
#define SetFrameType(pbuf, type) \
|
|
|
do { \
|
|
|
- *(unsigned short *)(pbuf) &= __constant_cpu_to_le16(~(BIT(3) | \
|
|
|
+ *(unsigned short *)(pbuf) &= cpu_to_le16(~(BIT(3) | \
|
|
|
BIT(2))); \
|
|
|
- *(unsigned short *)(pbuf) |= __constant_cpu_to_le16(type); \
|
|
|
+ *(unsigned short *)(pbuf) |= cpu_to_le16(type); \
|
|
|
} while (0)
|
|
|
|
|
|
#define GetFrameSubType(pbuf) (cpu_to_le16(*(unsigned short *)(pbuf)) & \
|