All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed bug in Wireless Extension Code (CONFIG_WEXT_CORE).
@ 2009-11-23  0:36 mike
  2009-11-23  9:45 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: mike @ 2009-11-23  0:36 UTC (permalink / raw)
  To: davem, hugh.dickins, linville, johannes, mike, linux-kernel

From: Michael Spradling <mike@mspradling.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@mspradling.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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-01 17:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23  0:36 [PATCH] Fixed bug in Wireless Extension Code (CONFIG_WEXT_CORE) mike
2009-11-23  9:45 ` Johannes Berg
2009-11-23 15:42   ` Michael Spradling
2009-11-23 15:53     ` Johannes Berg
2009-11-24  1:12       ` Michael Spradling
2009-12-01 17:46         ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.