Root/
| 1 | --- a/ath/if_ath.c |
| 2 | +++ b/ath/if_ath.c |
| 3 | @@ -4925,7 +4925,7 @@ ath_beacon_generate(struct ath_softc *sc |
| 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)); |
| 12 |
