[PATCH 00/11] staging: r8188eu: clean up validate_recv_data_frame

From: Martin Kaiser
Date: Sun Apr 03 2022 - 12:54:54 EST


Use ieee80211 helpers, remove temporary variables, simplify the error
handling. Refactor the code for checking to_ds, from_ds.

Martin Kaiser (11):
staging: r8188eu: use ieee80211 helper for source address
staging: r8188eu: use ieee80211 helper for destination address
staging: r8188eu: use ieee80211 helper for retry bit
staging: r8188eu: simplify error handling
staging: r8188eu: to_fr_ds cannot be 3 here
staging: r8188eu: don't copy ra and ta before we fail
staging: r8188eu: remove to_fr_ds from struct rx_pkt_attrib
staging: r8188eu: ra and ta do not depend on to_ds, from_ds
staging: r8188eu: remove psa, pda
staging: r8188eu: don't call get_hdr_bssid
staging: r8188eu: remove the bretry variable

drivers/staging/r8188eu/core/rtw_recv.c | 84 +++++++---------------
drivers/staging/r8188eu/include/rtw_recv.h | 1 -
drivers/staging/r8188eu/include/wifi.h | 2 -
3 files changed, 26 insertions(+), 61 deletions(-)

--
2.30.2