[ifxos] (oops - second try) fixed autoconf detection for 2.6.33 kernel
[openwrt.git] / package / madwifi / patches / 445-fix_ps_sta_count.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -1957,6 +1957,7 @@ ath_uapsd_processtriggers(struct ath_sof
4 if (qwh->i_fc[1] & IEEE80211_FC1_PWR_MGT) {
5 ni->ni_flags |=
6 IEEE80211_NODE_UAPSD_TRIG;
7 + ni->ni_vap->iv_ps_sta++;
8 ic->ic_uapsdmaxtriggers++;
9 WME_UAPSD_NODE_TRIGSEQINIT(ni);
10 DPRINTF(sc, ATH_DEBUG_UAPSD,
11 @@ -1967,6 +1968,7 @@ ath_uapsd_processtriggers(struct ath_sof
12 } else {
13 ni->ni_flags &=
14 ~IEEE80211_NODE_UAPSD_TRIG;
15 + ni->ni_vap->iv_ps_sta--;
16 ic->ic_uapsdmaxtriggers--;
17 DPRINTF(sc, ATH_DEBUG_UAPSD,
18 "Node (" MAC_FMT ") no longer U-APSD"
This page took 0.041615 seconds and 5 git commands to generate.