]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove to_fr_ds from struct rx_pkt_attrib
authorMartin Kaiser <martin@kaiser.cx>
Sun, 3 Apr 2022 16:54:34 +0000 (18:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:32:43 +0000 (16:32 +0200)
commit5eb1924c88583b2d454384bc09911f6f9ff91dea
tree0d29d9e326552e7823eeb430b8f3833275f75767
parent0774e131d2b08cbcbbcfec4d0e9d5130e5ee4fb8
staging: r8188eu: remove to_fr_ds from struct rx_pkt_attrib

to_fr_ds in struct rx_pkt_attrib stores the values of the to_ds and
from_ds bits of an incoming data frame. to_fr_ds is set by parsing the
frame control bytes and it's used only in validate_recv_data_frame.

Remove to_fr_ds from struct rx_pkt_attrib and use the ieee80211 helpers
to distinguish between the four different cases for to_ds, from_ds.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220403165438.357728-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c
drivers/staging/r8188eu/include/rtw_recv.h
drivers/staging/r8188eu/include/wifi.h