|
Lines 3960-3973
Link Here
|
| 3960 |
sc->rxon.cck_mask = 0x0f; /* not yet negotiated */ |
3960 |
sc->rxon.cck_mask = 0x0f; /* not yet negotiated */ |
| 3961 |
sc->rxon.ofdm_mask = 0xff; /* not yet negotiated */ |
3961 |
sc->rxon.ofdm_mask = 0xff; /* not yet negotiated */ |
| 3962 |
|
3962 |
|
| 3963 |
/* XXX Current configuration may be unusable. */ |
|
|
| 3964 |
if (IEEE80211_IS_CHAN_NOADHOC(c) && sc->rxon.mode == WPI_MODE_IBSS) { |
| 3965 |
device_printf(sc->sc_dev, |
| 3966 |
"%s: invalid channel (%d) selected for IBSS mode\n", |
| 3967 |
__func__, ieee80211_chan2ieee(ic, c)); |
| 3968 |
return EINVAL; |
| 3969 |
} |
| 3970 |
|
| 3971 |
if ((error = wpi_send_rxon(sc, 0, 0)) != 0) { |
3963 |
if ((error = wpi_send_rxon(sc, 0, 0)) != 0) { |
| 3972 |
device_printf(sc->sc_dev, "%s: could not send RXON\n", |
3964 |
device_printf(sc->sc_dev, "%s: could not send RXON\n", |
| 3973 |
__func__); |
3965 |
__func__); |