summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral/rt2661.c
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2011-01-17 20:15:15 +0000
committerbschmidt <bschmidt@FreeBSD.org>2011-01-17 20:15:15 +0000
commitc0217db66ac0956dccf4f7a81f3e7b48caf135a0 (patch)
tree0737c0999ebe2b30e240ad50e294383cc8d67c83 /sys/dev/ral/rt2661.c
parentf4390b5740c43afad7218e4bd73f5e0a0b5817c3 (diff)
downloadFreeBSD-src-c0217db66ac0956dccf4f7a81f3e7b48caf135a0.zip
FreeBSD-src-c0217db66ac0956dccf4f7a81f3e7b48caf135a0.tar.gz
Pull ieee80211_ratectl_node_init() calls from drivers into net80211.
This fixes hostap mode for at least ral(4) and run(4), because there is no sufficient call into drivers which could be used initialize the node related ratectl variables. MFC after: 3 days
Diffstat (limited to 'sys/dev/ral/rt2661.c')
-rw-r--r--sys/dev/ral/rt2661.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index 9b77c23..2d51dc2 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -100,7 +100,6 @@ static void rt2661_reset_rx_ring(struct rt2661_softc *,
struct rt2661_rx_ring *);
static void rt2661_free_rx_ring(struct rt2661_softc *,
struct rt2661_rx_ring *);
-static void rt2661_newassoc(struct ieee80211_node *, int);
static int rt2661_newstate(struct ieee80211vap *,
enum ieee80211_state, int);
static uint16_t rt2661_eeprom_read(struct rt2661_softc *, uint8_t);
@@ -304,7 +303,6 @@ rt2661_attach(device_t dev, int id)
ieee80211_init_channels(ic, NULL, &bands);
ieee80211_ifattach(ic, macaddr);
- ic->ic_newassoc = rt2661_newassoc;
#if 0
ic->ic_wme.wme_update = rt2661_wme_update;
#endif
@@ -764,13 +762,6 @@ rt2661_free_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring)
bus_dma_tag_destroy(ring->data_dmat);
}
-static void
-rt2661_newassoc(struct ieee80211_node *ni, int isnew)
-{
- /* XXX move */
- ieee80211_ratectl_node_init(ni);
-}
-
static int
rt2661_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
{
OpenPOWER on IntegriCloud