* [PATCH -next/mmotm/resend/lost] wireless: fix for CONFIG_NL80211=n
@ 2009-02-14 0:39 Randy Dunlap
2009-02-17 16:44 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-02-14 0:39 UTC (permalink / raw)
To: lkml; +Cc: linux-wireless, akpm, linville
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] 2+ messages in thread
* Re: [PATCH -next/mmotm/resend/lost] wireless: fix for CONFIG_NL80211=n
2009-02-14 0:39 [PATCH -next/mmotm/resend/lost] wireless: fix for CONFIG_NL80211=n Randy Dunlap
@ 2009-02-17 16:44 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2009-02-17 16:44 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, linux-wireless, akpm, linville
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
On Fri, 2009-02-13 at 16:39 -0800, Randy Dunlap wrote:
> 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>
bump &
Acked-by: Johannes Berg <johannes@sipsolutions.net>
I forgot this when adding the scan abort part.
> ---
> 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 */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-17 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-14 0:39 [PATCH -next/mmotm/resend/lost] wireless: fix for CONFIG_NL80211=n Randy Dunlap
2009-02-17 16:44 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox