PERFORCE change 67907 for review
Sam Leffler
sam at FreeBSD.org
Thu Dec 30 09:31:33 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=67907
Change 67907 by sam at sam_ebb on 2004/12/30 17:31:04
o slight simplification to previous change
o correct some comments and and #undef
Affected files ...
.. //depot/projects/wifi/sys/dev/ath/if_ath.c#51 edit
Differences ...
==== //depot/projects/wifi/sys/dev/ath/if_ath.c#51 (text+ko) ====
@@ -2763,7 +2763,7 @@
if (qnum == -1) {
/*
* NB: don't print a message, this happens
- * ormally on parts with too few tx queues
+ * normally on parts with too few tx queues
*/
return NULL;
}
@@ -3685,7 +3685,7 @@
ath_setcurmode(sc, mode);
/*
* Update BPF state. NB: ethereal et. al. don't handle
- * merged flags well, so pick a mode for their use.
+ * merged flags well so pick a unique mode for their use.
*/
if (IEEE80211_IS_CHAN_A(chan))
flags = IEEE80211_CHAN_A;
@@ -3693,10 +3693,8 @@
else if (IEEE80211_IS_CHAN_G(chan) ||
IEEE80211_IS_CHAN_PUREG(chan))
flags = IEEE80211_CHAN_G;
- else if (IEEE80211_IS_CHAN_B(chan))
+ else
flags = IEEE80211_CHAN_B;
- else
- flags = 0;
if (IEEE80211_IS_CHAN_T(chan))
flags |= IEEE80211_CHAN_TURBO;
sc->sc_tx_th.wt_chan_freq = sc->sc_rx_th.wr_chan_freq =
@@ -4318,7 +4316,7 @@
}
ATH_UNLOCK(sc);
return error;
-#undef IS_UP
+#undef IS_RUNNING
}
static int
More information about the p4-projects
mailing list