diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index c7971196d9d5..42f33fd3c5ec 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <asm/unaligned.h> | 23 | #include <asm/unaligned.h> |
24 | 24 | ||
25 | #include "ieee80211_i.h" | 25 | #include "ieee80211_i.h" |
26 | #include "driver-ops.h" | ||
26 | #include "rate.h" | 27 | #include "rate.h" |
27 | #include "led.h" | 28 | #include "led.h" |
28 | 29 | ||
@@ -683,11 +684,10 @@ static void ieee80211_sta_wmm_params(struct ieee80211_local *local, | |||
683 | local->mdev->name, queue, aci, acm, params.aifs, params.cw_min, | 684 | local->mdev->name, queue, aci, acm, params.aifs, params.cw_min, |
684 | params.cw_max, params.txop); | 685 | params.cw_max, params.txop); |
685 | #endif | 686 | #endif |
686 | if (local->ops->conf_tx && | 687 | if (drv_conf_tx(local, queue, ¶ms) && local->ops->conf_tx) |
687 | local->ops->conf_tx(local_to_hw(local), queue, ¶ms)) { | ||
688 | printk(KERN_DEBUG "%s: failed to set TX queue " | 688 | printk(KERN_DEBUG "%s: failed to set TX queue " |
689 | "parameters for queue %d\n", local->mdev->name, queue); | 689 | "parameters for queue %d\n", local->mdev->name, |
690 | } | 690 | queue); |
691 | } | 691 | } |
692 | } | 692 | } |
693 | 693 | ||
@@ -1982,10 +1982,8 @@ static void ieee80211_sta_reset_auth(struct ieee80211_sub_if_data *sdata) | |||
1982 | struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; | 1982 | struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; |
1983 | struct ieee80211_local *local = sdata->local; | 1983 | struct ieee80211_local *local = sdata->local; |
1984 | 1984 | ||
1985 | if (local->ops->reset_tsf) { | 1985 | /* Reset own TSF to allow time synchronization work. */ |
1986 | /* Reset own TSF to allow time synchronization work. */ | 1986 | drv_reset_tsf(local); |
1987 | local->ops->reset_tsf(local_to_hw(local)); | ||
1988 | } | ||
1989 | 1987 | ||
1990 | ifmgd->wmm_last_param_set = -1; /* allow any WMM update */ | 1988 | ifmgd->wmm_last_param_set = -1; /* allow any WMM update */ |
1991 | 1989 | ||