summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/beacon.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-10-07 03:19:11 +0200
committerJohn W. Linville2009-10-07 22:39:53 +0200
commit536b3a7a10c8fd39576a0602bfeca9bbd04658a6 (patch)
treed6a293e32b9ec406cf686a81e50417b8eea8eada /drivers/net/wireless/ath/ath9k/beacon.c
parentath9k: move ath_cleanup() below helpers to avoid forward declarations (diff)
downloadkernel-qcow2-linux-536b3a7a10c8fd39576a0602bfeca9bbd04658a6.tar.gz
kernel-qcow2-linux-536b3a7a10c8fd39576a0602bfeca9bbd04658a6.tar.xz
kernel-qcow2-linux-536b3a7a10c8fd39576a0602bfeca9bbd04658a6.zip
ath9k: rename ath_beaconq_setup() to ath9k_hw_beaconq_setup()
And move it to hw code on mac.c where it belongs. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/beacon.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c
index 54be876639a0..b10c884f2933 100644
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -242,18 +242,6 @@ static void ath_beacon_start_adhoc(struct ath_softc *sc,
sc->beacon.beaconq, ito64(bf->bf_daddr), bf->bf_desc);
}
-int ath_beaconq_setup(struct ath_hw *ah)
-{
- struct ath9k_tx_queue_info qi;
-
- memset(&qi, 0, sizeof(qi));
- qi.tqi_aifs = 1;
- qi.tqi_cwmin = 0;
- qi.tqi_cwmax = 0;
- /* NB: don't enable any interrupts */
- return ath9k_hw_setuptxqueue(ah, ATH9K_TX_QUEUE_BEACON, &qi);
-}
-
int ath_beacon_alloc(struct ath_wiphy *aphy, struct ieee80211_vif *vif)
{
struct ath_softc *sc = aphy->sc;