summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/beacon.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan2009-05-15 15:29:21 +0200
committerJohn W. Linville2009-05-20 20:46:25 +0200
commitd31e20af9f65e38429a3ed32175f8e233bdcd2b2 (patch)
tree13ea07bfe876dcb9913cfdcf048fdc7679e06af1 /drivers/net/wireless/ath/ath9k/beacon.c
parentath9k: Print hw reset failure status as signed int (diff)
downloadkernel-qcow2-linux-d31e20af9f65e38429a3ed32175f8e233bdcd2b2.tar.gz
kernel-qcow2-linux-d31e20af9f65e38429a3ed32175f8e233bdcd2b2.tar.xz
kernel-qcow2-linux-d31e20af9f65e38429a3ed32175f8e233bdcd2b2.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-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)
* slot. Slots that are not occupied will generate nothing.
*/
static void ath_beacon_config_ap(struct ath_softc *sc,
- struct ath_beacon_config *conf,
- struct ath_vif *avp)
+ struct ath_beacon_config *conf)
{
u32 nexttbtt, intval;
@@ -553,8 +552,7 @@ static void ath_beacon_config_ap(struct ath_softc *sc,
* we've associated with.
*/
static void ath_beacon_config_sta(struct ath_softc *sc,
- struct ath_beacon_config *conf,
- struct ath_vif *avp)
+ struct ath_beacon_config *conf)
{
struct ath9k_beacon_state bs;
int dtimperiod, dtimcount, sleepduration;
@@ -654,7 +652,6 @@ static void ath_beacon_config_sta(struct ath_softc *sc,
static void ath_beacon_config_adhoc(struct ath_softc *sc,
struct ath_beacon_config *conf,
- struct ath_vif *avp,
struct ieee80211_vif *vif)
{
u64 tsf;
@@ -720,14 +717,14 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
switch(avp->av_opmode) {
case NL80211_IFTYPE_AP:
- ath_beacon_config_ap(sc, &conf, avp);
+ ath_beacon_config_ap(sc, &conf);
break;
case NL80211_IFTYPE_ADHOC:
case NL80211_IFTYPE_MESH_POINT:
- ath_beacon_config_adhoc(sc, &conf, avp, vif);
+ ath_beacon_config_adhoc(sc, &conf, vif);
break;
case NL80211_IFTYPE_STATION:
- ath_beacon_config_sta(sc, &conf, avp);
+ ath_beacon_config_sta(sc, &conf);
break;
default:
DPRINTF(sc, ATH_DBG_CONFIG,