mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Try not to dereference null pointers; the loop above might not have run
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2745 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
3465554a3a
commit
66c5993fc6
@ -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 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user