summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wpi.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-06-06 20:33:19 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-06-06 20:33:19 +0000
commitba38f523f2a755963f94427be06b03e22cf6a3db (patch)
treef02404aaf967d94f6531e42b38d84363890cdaad /sys/dev/pci/if_wpi.c
parentb3b5ddc10805d11e14886988d7b2cc2ded257106 (diff)
comment an unused function (wpi_setup_beacon).
i do not plan to add support for independant bss or hostap modes.
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r--sys/dev/pci/if_wpi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index a5f43f4efea..ef23a636f3d 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.41 2007/06/06 20:14:04 damien Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.42 2007/06/06 20:33:18 damien Exp $ */
/*-
* Copyright (c) 2006, 2007
@@ -130,7 +130,9 @@ int wpi_set_txpower(struct wpi_softc *,
struct ieee80211_channel *);
int wpi_get_power_index(struct wpi_softc *,
struct wpi_power_group *, struct ieee80211_channel *, int);
+#ifdef notyet
int wpi_setup_beacon(struct wpi_softc *, struct ieee80211_node *);
+#endif
int wpi_auth(struct wpi_softc *);
int wpi_scan(struct wpi_softc *, uint16_t);
int wpi_config(struct wpi_softc *);
@@ -2264,6 +2266,7 @@ wpi_get_power_index(struct wpi_softc *sc, struct wpi_power_group *group,
* Build a beacon frame that the firmware will broadcast periodically in
* IBSS or HostAP modes.
*/
+#ifdef notyet
int
wpi_setup_beacon(struct wpi_softc *sc, struct ieee80211_node *ni)
{
@@ -2332,6 +2335,7 @@ wpi_setup_beacon(struct wpi_softc *sc, struct ieee80211_node *ni)
return 0;
}
+#endif
int
wpi_auth(struct wpi_softc *sc)