summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorBernhard Schmidt <bschmidt@FreeBSD.org>2011-01-26 17:20:34 +0000
committerBernhard Schmidt <bschmidt@FreeBSD.org>2011-01-26 17:20:34 +0000
commitf8d326748d1527cc91a74004421c8a6943ff411a (patch)
tree2907d46b360d9553603ac5b6546ce88b55e39319 /sys/dev/usb
parent17cbbe2bf754a649061a5aa356619c6c6a1b9fa2 (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/wlan/if_rum.c2
-rw-r--r--sys/dev/usb/wlan/if_run.c1
-rw-r--r--sys/dev/usb/wlan/if_ural.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c
index c914d5e40871..ec4cbbc0ac23 100644
--- a/sys/dev/usb/wlan/if_rum.c
+++ b/sys/dev/usb/wlan/if_rum.c
@@ -2206,8 +2206,6 @@ rum_ratectl_start(struct rum_softc *sc, struct ieee80211_node *ni)
/* clear statistic registers (STA_CSR0 to STA_CSR5) */
rum_read_multi(sc, RT2573_STA_CSR0, sc->sta, sizeof sc->sta);
- ieee80211_ratectl_node_init(ni);
-
usb_callout_reset(&rvp->ratectl_ch, hz, rum_ratectl_timeout, rvp);
}
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c
index 060eb81d32f8..211fa07ee3ec 100644
--- a/sys/dev/usb/wlan/if_run.c
+++ b/sys/dev/usb/wlan/if_run.c
@@ -2376,7 +2376,6 @@ run_newassoc(struct ieee80211_node *ni, int isnew)
DPRINTF("new assoc isnew=%d associd=%x addr=%s\n",
isnew, ni->ni_associd, ether_sprintf(ni->ni_macaddr));
- ieee80211_ratectl_node_init(ni);
sc->sc_ni[wcid] = ni;
for (i = 0; i < rs->rs_nrates; i++) {
diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c
index 3ebdafe19b8d..65d974acd03e 100644
--- a/sys/dev/usb/wlan/if_ural.c
+++ b/sys/dev/usb/wlan/if_ural.c
@@ -2215,8 +2215,6 @@ ural_ratectl_start(struct ural_softc *sc, struct ieee80211_node *ni)
/* clear statistic registers (STA_CSR0 to STA_CSR10) */
ural_read_multi(sc, RAL_STA_CSR0, sc->sta, sizeof sc->sta);
- ieee80211_ratectl_node_init(ni);
-
usb_callout_reset(&uvp->ratectl_ch, hz, ural_ratectl_timeout, uvp);
}