diff options
author | sam <sam@FreeBSD.org> | 2008-10-27 16:46:50 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-27 16:46:50 +0000 |
commit | 94d731286108656a0c968d4d198895895a0ff1bf (patch) | |
tree | 3ce19da60bdf6db3713c58b48e39561d4276c21a /sys/dev/iwn | |
parent | 306c95be6d13324c52b48ea783e821dcb4926ddc (diff) | |
download | FreeBSD-src-94d731286108656a0c968d4d198895895a0ff1bf.zip FreeBSD-src-94d731286108656a0c968d4d198895895a0ff1bf.tar.gz |
o use the new association callback to notify the driver when joining a bss
in sta and adhoc modes; this should've been done forever ago as most all
drivers use this hook to set per-station transmit parameters such as for
tx rate control
o adjust drivers to remove explicit calls to the driver newassoc method
Diffstat (limited to 'sys/dev/iwn')
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 8421944..947ecf5 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -3648,11 +3648,6 @@ iwn_run(struct iwn_softc *sc) return error; } - if (ic->ic_opmode == IEEE80211_M_STA) { - /* fake a join to init the tx rate */ - iwn_newassoc(ni, 1); - } - error = iwn_init_sensitivity(sc); if (error != 0) { device_printf(sc->sc_dev, |