diff mbox series

[2/5] wifi: mwifiex: don't include lib80211.h

Message ID 20241007201545.74be9cca3eb8.I47b2e8e2d09c0a0be1f8346478d3d908b4021abd@changeid (mailing list archive)
State Superseded
Delegated to: Kalle Valo
Headers show
Series lib80211 cleanup | expand

Commit Message

Johannes Berg Oct. 7, 2024, 6:10 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

This really should never have been used, it's ancient code,
but then the driver needs its own define for NUM_WEP_KEYS.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 drivers/net/wireless/marvell/mwifiex/ioctl.h | 2 +-
 drivers/net/wireless/marvell/mwifiex/main.h  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/mwifiex/ioctl.h b/drivers/net/wireless/marvell/mwifiex/ioctl.h
index 516159b721d3..74747d3a379a 100644
--- a/drivers/net/wireless/marvell/mwifiex/ioctl.h
+++ b/drivers/net/wireless/marvell/mwifiex/ioctl.h
@@ -8,7 +8,7 @@ 
 #ifndef _MWIFIEX_IOCTL_H_
 #define _MWIFIEX_IOCTL_H_
 
-#include <net/lib80211.h>
+#define NUM_WEP_KEYS	4
 
 enum {
 	MWIFIEX_SCAN_TYPE_UNCHANGED = 0,
diff --git a/drivers/net/wireless/marvell/mwifiex/main.h b/drivers/net/wireless/marvell/mwifiex/main.h
index 566adce3413c..366590236ed7 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.h
+++ b/drivers/net/wireless/marvell/mwifiex/main.h
@@ -19,7 +19,6 @@ 
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <net/sock.h>
-#include <net/lib80211.h>
 #include <linux/vmalloc.h>
 #include <linux/firmware.h>
 #include <linux/ctype.h>