staging:rtl8723au: fix sparse warning: incorrect type in assignment
Signed-off-by: Kinka Huang <kinkabrain@gmail.com> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8488d6eca9
commit
ce6bed69e3
|
@ -2153,9 +2153,9 @@ bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
|
||||||
|
|
||||||
memset(&ht_capie, 0, sizeof(struct ieee80211_ht_cap));
|
memset(&ht_capie, 0, sizeof(struct ieee80211_ht_cap));
|
||||||
|
|
||||||
ht_capie.cap_info = IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
|
ht_capie.cap_info = cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
|
||||||
IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 |
|
IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 |
|
||||||
IEEE80211_HT_CAP_TX_STBC | IEEE80211_HT_CAP_DSSSCCK40;
|
IEEE80211_HT_CAP_TX_STBC | IEEE80211_HT_CAP_DSSSCCK40);
|
||||||
|
|
||||||
GetHalDefVar8192CUsb(padapter, HAL_DEF_RX_PACKET_OFFSET,
|
GetHalDefVar8192CUsb(padapter, HAL_DEF_RX_PACKET_OFFSET,
|
||||||
&rx_packet_offset);
|
&rx_packet_offset);
|
||||||
|
|
Loading…
Reference in New Issue