mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Use cpu_to_le16() insted of RTW_PUT_LE16()
Port 83a9b6694d1e300ca8240fdf654650dcc096c86f
This commit is contained in:
@@ -98,7 +98,7 @@ static void rtw_hal_mcc_build_p2p_noa_attr(PADAPTER padapter, u8 *ie, u32 *ie_le
|
||||
p2p_noa_attr_len = p2p_noa_attr_len + 1;
|
||||
|
||||
/* attrute length(2 bytes) length = noa_desc_num*13 + 2 */
|
||||
RTW_PUT_LE16(p2p_noa_attr_ie + p2p_noa_attr_len, (noa_desc_num * 13 + 2));
|
||||
*(u16 *) (p2p_noa_attr_ie + p2p_noa_attr_len) = cpu_to_le16(noa_desc_num * 13 + 2);
|
||||
p2p_noa_attr_len = p2p_noa_attr_len + 2;
|
||||
|
||||
/* Index (1 byte) */
|
||||
|
||||
Reference in New Issue
Block a user