54fcd76a601d7017d8c93845e3affd2660c777fc
[openwrt-10.03/.git] / package / madwifi / patches / 363-fix_turbo.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -4925,7 +4925,7 @@
4          * capability info and arrange for a mode change
5          * if needed.
6          */
7 -       if (sc->sc_dturbo) {
8 +       if (sc->sc_dturbo && NULL != avp->av_boff.bo_tim) {
9                 u_int8_t dtim;
10                 dtim = ((avp->av_boff.bo_tim[2] == 1) ||
11                         (avp->av_boff.bo_tim[3] == 1));