lkml.org 
[lkml]   [2022]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 02/11] staging: r8188eu: use ieee80211 helper for destination address
Date
Use the ieee80211_get_DA helper to get a pointer to the destination
address of the incoming data frame.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/core/rtw_recv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/r8188eu/core/rtw_recv.c b/drivers/staging/r8188eu/core/rtw_recv.c
index 597c6291f098..89b6e30915ce 100644
--- a/drivers/staging/r8188eu/core/rtw_recv.c
+++ b/drivers/staging/r8188eu/core/rtw_recv.c
@@ -946,7 +946,7 @@ static int validate_recv_data_frame(struct adapter *adapter,
int ret = _SUCCESS;

bretry = GetRetry(ptr);
- pda = get_da(ptr);
+ pda = ieee80211_get_DA(hdr);
psa = ieee80211_get_SA(hdr);
pbssid = get_hdr_bssid(ptr);

--
2.30.2
\
 
 \ /
  Last update: 2022-04-03 18:55    [W:0.059 / U:3.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site