staging: r8188eu: don't call get_hdr_bssid
authorMartin Kaiser <martin@kaiser.cx>
Sun, 3 Apr 2022 16:54:37 +0000 (18:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:32:43 +0000 (16:32 +0200)
commit7a074dc8145eabd09413c6e68e3f978ab0f37b4f
tree2db8793fbef083e8ae6d587c52a367f2b202ab32
parenta9207f5e5101272c8bfd5e1aee6494be48f7c878
staging: r8188eu: don't call get_hdr_bssid

Do not call get_hdr_bssid from validate_recv_data_frame.

We already distinguish between the four cases for to_ds, from_ds. Copy
the bssid address as described in the "DS bit usage" table in
include/linux/ieee80211.h.

Eventually, we should remove get_hdr_bssid (and other similar
driver-specific parsing functions).

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