[PATCH] [TRIVIAL] fix a warning when building with PRISM2_NO_DEBUG

Joshua Kwan joshk
Thu Dec 18 00:24:23 PST 2003


The patch explains itself.

Index: driver/modules/hostap_ap.c
===================================================================
RCS file: /cvs/hostap/driver/modules/hostap_ap.c,v
retrieving revision 1.93
diff -u -r1.93 hostap_ap.c
--- driver/modules/hostap_ap.c	24 Nov 2003 03:06:06 -0000	1.93
+++ driver/modules/hostap_ap.c	18 Dec 2003 08:23:38 -0000
@@ -759,7 +759,9 @@
 static void hostap_ap_tx_cb_poll(struct sk_buff *skb, int ok, void *data)
 {
 	struct ap_data *ap = data;
+#ifndef PRISM2_NO_DEBUG
 	struct net_device *dev = ap->local->dev;
+#endif
 	struct hostap_ieee80211_hdr *hdr;
 	struct sta_info *sta;
 
-- 
Joshua Kwan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20031218/7fc32118/attachment.pgp 



More information about the Hostap mailing list