]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/ath5k/base.h
Ath5k: lock beacons
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / ath5k / base.h
index d7e03e6b827126720834b1a3b0ecd7e32590e7e2..7ec2f377d5c785c94f43589b935af5dab6ddcc4e 100644 (file)
@@ -172,6 +172,7 @@ struct ath5k_softc {
        struct tasklet_struct   txtq;           /* tx intr tasklet */
        struct ath5k_led        tx_led;         /* tx led */
 
+       spinlock_t              block;          /* protects beacon */
        struct ath5k_buf        *bbuf;          /* beacon buffer */
        unsigned int            bhalq,          /* SW q for outgoing beacons */
                                bmisscount,     /* missed beacon transmits */