Skip to content

Commit

Permalink
wireless: fix for CONFIG_NL80211=n
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and John W. Linville committed Feb 27, 2009
1 parent 80bc539 commit 13e967b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/wireless/nl80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 13e967b

Please sign in to comment.