diff options
author | 2007-06-06 20:33:18 +0000 | |
---|---|---|
committer | 2007-06-06 20:33:18 +0000 | |
commit | 7628baeadd7edcbac6660ffb60eb44e57faa2c42 (patch) | |
tree | df3a493710a2ac3ba4a63a9f92df11b41c8d5950 | |
parent | - #undef the correct macro (diff) | |
download | wireguard-openbsd-7628baeadd7edcbac6660ffb60eb44e57faa2c42.tar.xz wireguard-openbsd-7628baeadd7edcbac6660ffb60eb44e57faa2c42.zip |
comment an unused function (wpi_setup_beacon).
i do not plan to add support for independant bss or hostap modes.
-rw-r--r-- | sys/dev/pci/if_wpi.c | 6 |
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) |