linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wireless: fix for CONFIG_NL80211=n
       [not found] <20090212194408.ff7489c1.sfr@canb.auug.org.au>
@ 2009-02-12 17:38 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-02-12 17:38 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, LKML, linux-wireless@vger.kernel.org,
	linville@tuxdriver.com

From: Randy Dunlap <randy.dunlap@oracle.com>

Add empty function for case of CONFIG_NL80211=n:

net/wireless/scan.c:35: error: implicit declaration of function 'nl80211_send_scan_aborted'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 net/wireless/nl80211.h |    4 ++++
 1 file changed, 4 insertions(+)

--- linux-next-20090212.orig/net/wireless/nl80211.h
+++ linux-next-20090212/net/wireless/nl80211.h
@@ -27,6 +27,10 @@ static inline void
 nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
 		       struct net_device *netdev)
 {}
+static inline void nl80211_send_scan_aborted(
+					struct cfg80211_registered_device *rdev,
+					struct net_device *netdev)
+{}
 #endif /* CONFIG_NL80211 */
 
 #endif /* __NET_WIRELESS_NL80211_H */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-12 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090212194408.ff7489c1.sfr@canb.auug.org.au>
2009-02-12 17:38 ` [PATCH] wireless: fix for CONFIG_NL80211=n Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).