]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: read destination address from ieee80211_mgmt
authorMartin Kaiser <martin@kaiser.cx>
Sun, 8 May 2022 16:14:49 +0000 (18:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:40:56 +0000 (17:40 +0200)
commitdbd1f176e9d6d6d836d51878c3dcf144380f39c2
tree88937e5fc1c6d48f7be290d424509b1805d7fd6b
parent7d622295ad1713c3f2d6e922340e75826b734ef0
staging: r8188eu: read destination address from ieee80211_mgmt

For management frames, addr1 is the destination address (da). Read this
address from struct ieee80211_mgmt instead of calling a driver-specific
macro.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220508161451.115847-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c