]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f07d1b794d9ccbb6a5dfbfd49b9b621737799e0
tree2db8793fbef083e8ae6d587c52a367f2b202ab32
parent6b614ad84ec0917c26bfb3f5578a74c1e03c3a81
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