| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH wireless-2.6 7/12] Host AP: Fix compilation with PRISM2_NO_STATION_MODES defined. |
| From: | Jouni Malinen <jkmaline@xxxxxxxxx> |
| Date: | Sun, 7 Nov 2004 23:14:27 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20041108070156.GA1076@xxxxxxxxx> |
| References: | <20041108070156.GA1076@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6i |
Signed-off-by: Jouni Malinen <jkmaline@xxxxxxxxx>
diff -Nru a/drivers/net/wireless/hostap/hostap_ioctl.c
b/drivers/net/wireless/hostap/hostap_ioctl.c
--- a/drivers/net/wireless/hostap/hostap_ioctl.c 2004-11-07 22:38:44
-08:00
+++ b/drivers/net/wireless/hostap/hostap_ioctl.c 2004-11-07 22:38:44
-08:00
@@ -597,6 +597,7 @@
}
+#ifndef PRISM2_NO_STATION_MODES
static int hostap_join_ap(struct net_device *dev)
{
struct hostap_interface *iface = dev->priv;
@@ -634,6 +635,7 @@
return 0;
}
+#endif /* PRISM2_NO_STATION_MODES */
static int prism2_ioctl_siwap(struct net_device *dev,
@@ -1586,7 +1588,8 @@
#else /* !PRISM2_NO_STATION_MODES */
-static inline int prism2_request_hostscan(struct net_device *dev)
+static inline int prism2_request_hostscan(struct net_device *dev,
+ u8 *ssid, u8 ssid_len)
{
return -EOPNOTSUPP;
}
--
Jouni Malinen PGP id EFC895FA
|
| Previous by Date: | [PATCH wireless-2.6 6/12] Host AP: Prevent STAs from associating using AP address, Jouni Malinen |
|---|---|
| Next by Date: | [PATCH wireless-2.6 8/12] Host AP: Do not bridge packets to unauthorized ports, Jouni Malinen |
| Previous by Thread: | [PATCH wireless-2.6 6/12] Host AP: Prevent STAs from associating using AP address, Jouni Malinen |
| Next by Thread: | [PATCH wireless-2.6 8/12] Host AP: Do not bridge packets to unauthorized ports, Jouni Malinen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |