aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-05-15 09:29:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:25 -0400
commitd31e20af9f65e38429a3ed32175f8e233bdcd2b2 (patch)
tree13ea07bfe876dcb9913cfdcf048fdc7679e06af1
parent6b45784fbe9b31c287ab7f2717e4bd4cdcdd340c (diff)
ath9k: Remove unused parameters which are passed to ath_beacon_config_X()
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/beacon.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c
index 3a7154beeae1..af5edb840ade 100644
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -507,8 +507,7 @@ void ath_beacon_tasklet(unsigned long data)
507 * slot. Slots that are not occupied will generate nothing. 507 * slot. Slots that are not occupied will generate nothing.
508 */ 508 */
509static void ath_beacon_config_ap(struct ath_softc *sc, 509static void ath_beacon_config_ap(struct ath_softc *sc,
510 struct ath_beacon_config *conf, 510 struct ath_beacon_config *conf)
511 struct ath_vif *avp)
512{ 511{
513 u32 nexttbtt, intval; 512 u32 nexttbtt, intval;
514 513
@@ -553,8 +552,7 @@ static void ath_beacon_config_ap(struct ath_softc *sc,
553 * we've associated with. 552 * we've associated with.
554 */ 553 */
555static void ath_beacon_config_sta(struct ath_softc *sc, 554static void ath_beacon_config_sta(struct ath_softc *sc,
556 struct ath_beacon_config *conf, 555 struct ath_beacon_config *conf)
557 struct ath_vif *avp)
558{ 556{
559 struct ath9k_beacon_state bs; 557 struct ath9k_beacon_state bs;
560 int dtimperiod, dtimcount, sleepduration; 558 int dtimperiod, dtimcount, sleepduration;
@@ -654,7 +652,6 @@ static void ath_beacon_config_sta(struct ath_softc *sc,
654 652
655static void ath_beacon_config_adhoc(struct ath_softc *sc, 653static void ath_beacon_config_adhoc(struct ath_softc *sc,
656 struct ath_beacon_config *conf, 654 struct ath_beacon_config *conf,
657 struct ath_vif *avp,
658 struct ieee80211_vif *vif) 655 struct ieee80211_vif *vif)
659{ 656{
660 u64 tsf; 657 u64 tsf;
@@ -720,14 +717,14 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
720 717
721 switch(avp->av_opmode) { 718 switch(avp->av_opmode) {
722 case NL80211_IFTYPE_AP: 719 case NL80211_IFTYPE_AP:
723 ath_beacon_config_ap(sc, &conf, avp); 720 ath_beacon_config_ap(sc, &conf);
724 break; 721 break;
725 case NL80211_IFTYPE_ADHOC: 722 case NL80211_IFTYPE_ADHOC:
726 case NL80211_IFTYPE_MESH_POINT: 723 case NL80211_IFTYPE_MESH_POINT:
727 ath_beacon_config_adhoc(sc, &conf, avp, vif); 724 ath_beacon_config_adhoc(sc, &conf, vif);
728 break; 725 break;
729 case NL80211_IFTYPE_STATION: 726 case NL80211_IFTYPE_STATION:
730 ath_beacon_config_sta(sc, &conf, avp); 727 ath_beacon_config_sta(sc, &conf);
731 break; 728 break;
732 default: 729 default:
733 DPRINTF(sc, ATH_DBG_CONFIG, 730 DPRINTF(sc, ATH_DBG_CONFIG,