Annoyingly pedantic updates
authormentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 17 Mar 2008 04:57:52 +0000 (04:57 +0000)
committermentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 17 Mar 2008 04:57:52 +0000 (04:57 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3390 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath.c

index 412711535c14194392fb4a95b5ba24a3e076adc3..130d5d65c7afed0898a91719a33d37531a3ff9ad 100644 (file)
@@ -2107,10 +2107,10 @@ ath_uapsd_processtriggers(struct ath_softc *sc, u_int64_t hw_tsf)
                                        "bf_tsf_low15:%llu rssi:%u width:%u\n",
                                        sc->sc_curchan.channel,
                                        jiffies, p->bf_tsf,
-                                       p->bf_tsf &TSTAMP_MASK,
+                                       p->bf_tsf & ~TSTAMP_MASK,
                                        p->bf_tsf &  TSTAMP_MASK,
                                        p->bf_tsf,
-                                       p->bf_tsf &TSTAMP_MASK,
+                                       p->bf_tsf & ~TSTAMP_MASK,
                                        p->bf_tsf &  TSTAMP_MASK,
                                        rs->rs_rssi,
                                        skb->data[0]);
@@ -8932,7 +8932,7 @@ ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
                        /*
                         * Disable interrupts.
                         */
-                       ath_hal_intrset(ah, sc->sc_imask &HAL_INT_GLOBAL);
+                       ath_hal_intrset(ah, sc->sc_imask & ~HAL_INT_GLOBAL);
                        sc->sc_beacons = 0;
                }
                /*