diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-02-13 16:39:35 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:35 -0500 |
commit | 13e967b2926a51e1913ea42711eaf4108372fd44 (patch) | |
tree | d23b99638400d1360792735a0c106adc96f1cc6c /net/wireless/nl80211.h | |
parent | 80bc53931bdf8284c5a95ba96d86ab6c2473a5f8 (diff) | |
download | op-kernel-dev-13e967b2926a51e1913ea42711eaf4108372fd44.zip op-kernel-dev-13e967b2926a51e1913ea42711eaf4108372fd44.tar.gz |
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>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index b565a5f..69787b6 100644 --- a/net/wireless/nl80211.h +++ b/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 */ |