b3c7324652551de828f5fcd49c52ee9b8f3d7c52
[openwrt-10.03/.git] / package / madwifi / patches / 363-fix_turbo.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -4915,7 +4915,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));