mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-05 08:59:35 +00:00
Use is_multicast_ether_addr instead of custom macro IS_MCAST, the
buffer is properly aligned. Link: https://lore.kernel.org/r/20210823120106.9633-3-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-4-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-5-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-6-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-7-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-8-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-9-straube.linux@gmail.com
This commit is contained in:
committed by
Carlos Garces
parent
3cfc5c26b4
commit
60aa279428
@@ -12527,7 +12527,7 @@ void rtw_store_phy_info(_adapter *padapter, union recv_frame *prframe)
|
||||
|
||||
/*RTW_INFO("=>%s WIFI_DATA_TYPE or WIFI_QOS_DATA_TYPE\n", __FUNCTION__);*/
|
||||
if (psta) {
|
||||
if (IS_MCAST(get_ra(get_recvframe_data(prframe))))
|
||||
if (is_multicast_ether_addr(get_ra(get_recvframe_data(prframe))))
|
||||
psta_dframe_info = &psta->sta_dframe_info_bmc;
|
||||
else
|
||||
psta_dframe_info = &psta->sta_dframe_info;
|
||||
|
||||
Reference in New Issue
Block a user