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