diff --git a/ath/if_ath.c b/ath/if_ath.c index 0d2c387..d7beaeb 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -4355,7 +4355,8 @@ ath_beacon_send(struct ath_softc *sc, int *needmark) } } } - *bflink = 0; /* link of last frame */ + if (bflink != NULL) + *bflink = 0; /* link of last frame */ } /*