aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-02-13 19:39:35 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:35 -0500
commit13e967b2926a51e1913ea42711eaf4108372fd44 (patch)
treed23b99638400d1360792735a0c106adc96f1cc6c
parent80bc53931bdf8284c5a95ba96d86ab6c2473a5f8 (diff)
wireless: fix for CONFIG_NL80211=n
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> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/wireless/nl80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
index b565a5f84e97..69787b621365 100644
--- a/net/wireless/nl80211.h
+++ b/net/wireless/nl80211.h
@@ -27,6 +27,10 @@ static inline void
27nl80211_send_scan_done(struct cfg80211_registered_device *rdev, 27nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
28 struct net_device *netdev) 28 struct net_device *netdev)
29{} 29{}
30static inline void nl80211_send_scan_aborted(
31 struct cfg80211_registered_device *rdev,
32 struct net_device *netdev)
33{}
30#endif /* CONFIG_NL80211 */ 34#endif /* CONFIG_NL80211 */
31 35
32#endif /* __NET_WIRELESS_NL80211_H */ 36#endif /* __NET_WIRELESS_NL80211_H */