diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2015-09-26 13:22:44 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-09-26 13:22:44 +0000 |
| commit | cc43c3e8a71d1397541fd6920d0e8cfe26637971 (patch) | |
| tree | 1c329ab5e4f5a603fd32898b0e5bdb8d57121a13 | |
| parent | 0b33261bbe529382eaddf78c3d6031ff0fdd27e6 (diff) | |
Notes
| -rw-r--r-- | sys/dev/wpi/if_wpi.c | 8 |
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__); |
