mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
staging: r8188eu: use ieee80211_get_SA
Use ieee80211_get_SA in update_recvframe_phyinfo_88e instead of the driver-specific get_sa function. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20221031205412.124871-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
97cc476fc6
commit
aa69ca7d6d
@@ -135,7 +135,7 @@ void update_recvframe_phyinfo_88e(struct recv_frame *precvframe, struct phy_stat
|
||||
sa = padapter->mlmepriv.cur_network.network.MacAddress;
|
||||
/* to do Ad-hoc */
|
||||
} else {
|
||||
sa = get_sa(wlanhdr);
|
||||
sa = ieee80211_get_SA(hdr);
|
||||
}
|
||||
|
||||
pstapriv = &padapter->stapriv;
|
||||
|
||||
Reference in New Issue
Block a user