diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-07-17 07:45:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:11:37 -0400 |
commit | 130ef6e9dc76f821caf98fa9ed6e2dafe15f3b1f (patch) | |
tree | e14de489e9e7f45c279ab9210ee4daba266902a2 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 0f245ed20b8df90f7610f0f62f9c3513e084a679 (diff) |
ath9k: Fix beacon setup
This patch revamps interface addition and deletion and simplifies
slot allocation. There is no need to setup the beacon buffer
in add/remove interface, remove this and use simple APIs for
assigning/deleting slots.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 3e7a5726652b..9dd8fbb847fd 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -416,8 +416,8 @@ struct ath_beacon { | |||
416 | 416 | ||
417 | void ath_beacon_tasklet(unsigned long data); | 417 | void ath_beacon_tasklet(unsigned long data); |
418 | void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif); | 418 | void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif); |
419 | int ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_vif *vif); | 419 | void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif); |
420 | void ath_beacon_return(struct ath_softc *sc, struct ath_vif *avp); | 420 | void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif); |
421 | int ath_beaconq_config(struct ath_softc *sc); | 421 | int ath_beaconq_config(struct ath_softc *sc); |
422 | void ath_set_beacon(struct ath_softc *sc); | 422 | void ath_set_beacon(struct ath_softc *sc); |
423 | void ath9k_set_beaconing_status(struct ath_softc *sc, bool status); | 423 | void ath9k_set_beaconing_status(struct ath_softc *sc, bool status); |