remove ethernet.h header file

There are only two definitions from ethernet.h used in the driver.
Namely:

Both are only used in the file core/rtw_recv.c. Replace the usage of
ETHERNET_HEADER_SIZE with ETH_HLEN, move the definition of LLC_HEADER_SIZE
into rtw_recv.h and remove the now unused ethernet.h header file.

Link: https://lore.kernel.org/r/20210824123621.10801-4-straube.linux@gmail.com
This commit is contained in:
Michael Straube
2021-08-24 14:36:21 +02:00
committed by Carlos Garces
parent a99eff7ea3
commit 2f0a5e695b
4 changed files with 6 additions and 41 deletions

View File

@@ -89,6 +89,8 @@
extern u8 rtw_bridge_tunnel_header[];
extern u8 rtw_rfc1042_header[];
#define LLC_HEADER_SIZE 6
/* for Rx reordering buffer control */
struct recv_reorder_ctrl {
_adapter *padapter;