]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: mwifiex: don't include lib80211.h
authorJohannes Berg <johannes.berg@intel.com>
Mon, 7 Oct 2024 18:26:52 +0000 (20:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:52:19 +0000 (21:52 +0200)
This really should never have been used, it's ancient code,
but then the driver needs its own define for NUM_WEP_KEYS.

Link: https://patch.msgid.link/20241007202706.74be9cca3eb8.I47b2e8e2d09c0a0be1f8346478d3d908b4021abd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/marvell/mwifiex/ioctl.h
drivers/net/wireless/marvell/mwifiex/main.h

index 516159b721d34e98be17e4c51f000213d950f6a9..74747d3a379a907290be1b81e88cef203aa358db 100644 (file)
@@ -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,
index 566adce3413cb6604abb02245325116bb9fb37bd..366590236ed7eae5167d17c397990508edd81389 100644 (file)
@@ -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>