[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1258936602-6110-1-git-send-email-mike@mspradling.com>
Date: Sun, 22 Nov 2009 19:36:42 -0500
From: mike@...radling.com
To: davem@...emloft.net, hugh.dickins@...ali.co.uk,
linville@...driver.com, johannes@...solutions.net,
mike@...radling.com, linux-kernel@...r.kernel.org
Subject: [PATCH] Fixed bug in Wireless Extension Code (CONFIG_WEXT_CORE).
From: Michael Spradling <mike@...radling.com>
When CONFIG_WEXT_CORE is not enabled and CONFIG_WEXT_PRIV is enabled
there currently is a few build errors. This is because several
functions call function call_commit_handler which is currently only
defined when CONFIG_WEXT_CORE is enabled.
Signed-off-by: Michael Spradling <mike@...radling.com>
---
include/net/wext.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/net/wext.h b/include/net/wext.h
index 4f6e742..773c8c6 100644
--- a/include/net/wext.h
+++ b/include/net/wext.h
@@ -24,6 +24,10 @@ static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
{
return -EINVAL;
}
+static inline int call_commit_handler(struct net_device *dev)
+{
+ return -EINVAL;
+}
#endif
#ifdef CONFIG_WEXT_PROC
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists