aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2015-09-26 13:22:44 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2015-09-26 13:22:44 +0000
commitcc43c3e8a71d1397541fd6920d0e8cfe26637971 (patch)
tree1c329ab5e4f5a603fd32898b0e5bdb8d57121a13
parent0b33261bbe529382eaddf78c3d6031ff0fdd27e6 (diff)
Notes
-rw-r--r--sys/dev/wpi/if_wpi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index e77d42de6952..abb3bd5baef1 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -3954,14 +3954,6 @@ wpi_config(struct wpi_softc *sc)
sc->rxon.cck_mask = 0x0f; /* not yet negotiated */
sc->rxon.ofdm_mask = 0xff; /* not yet negotiated */
- /* XXX Current configuration may be unusable. */
- if (IEEE80211_IS_CHAN_NOADHOC(c) && sc->rxon.mode == WPI_MODE_IBSS) {
- device_printf(sc->sc_dev,
- "%s: invalid channel (%d) selected for IBSS mode\n",
- __func__, ieee80211_chan2ieee(ic, c));
- return EINVAL;
- }
-
if ((error = wpi_send_rxon(sc, 0, 0)) != 0) {
device_printf(sc->sc_dev, "%s: could not send RXON\n",
__func__);