summaryrefslogtreecommitdiff
path: root/net/wireless/wext-core.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-10-09 08:33:05 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-10-09 08:53:01 +0200
commitdb03488897a70367aeafe82d07a78943d2a6068e (patch)
tree29bf5719e1c73e1c75060d6a9f758fa120d1b593 /net/wireless/wext-core.c
parentff919efb5fe8256fba132b5f2c58df3c38bdd0b3 (diff)
downloadlwn-db03488897a70367aeafe82d07a78943d2a6068e.tar.gz
lwn-db03488897a70367aeafe82d07a78943d2a6068e.zip
Revert "wifi: cfg80211: unexport wireless_nlevent_flush()"
Revert this, I neglected to take into account the fact that cfg80211 itself can be a module, but wext is always builtin. Fixes: aee809aaa2d1 ("wifi: cfg80211: unexport wireless_nlevent_flush()") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/wext-core.c')
-rw-r--r--net/wireless/wext-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-core.c b/net/wireless/wext-core.c
index 00c640b3e86e..3bb04b05c5ce 100644
--- a/net/wireless/wext-core.c
+++ b/net/wireless/wext-core.c
@@ -20,7 +20,6 @@
#include <net/netlink.h>
#include <net/wext.h>
#include <net/net_namespace.h>
-#include "wext-compat.h"
typedef int (*wext_ioctl_func)(struct net_device *, struct iwreq *,
unsigned int, struct iw_request_info *,
@@ -357,6 +356,7 @@ void wireless_nlevent_flush(void)
}
up_read(&net_rwsem);
}
+EXPORT_SYMBOL_GPL(wireless_nlevent_flush);
static int wext_netdev_notifier_call(struct notifier_block *nb,
unsigned long state, void *ptr)