staging: rtl8723au: rtw_cfg80211_inform_bss(): Use get_unaligned_le16()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
14423cd702
commit
9a7e35f1ea
|
@ -289,7 +289,7 @@ static int rtw_cfg80211_inform_bss(struct rtw_adapter *padapter,
|
|||
notify_timestamp = jiffies_to_msecs(jiffies) * 1000; /* uSec */
|
||||
|
||||
notify_interval =
|
||||
le16_to_cpu(*(u16 *)
|
||||
get_unaligned_le16(
|
||||
rtw_get_beacon_interval23a_from_ie(pnetwork->network.IEs));
|
||||
notify_capability =
|
||||
get_unaligned_le16(
|
||||
|
|
Loading…
Reference in a new issue