1 Index: madwifi-trunk-r3280/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3280.orig/ath/if_ath.c 2008-01-28 19:00:13.666420256 +0100
4 +++ madwifi-trunk-r3280/ath/if_ath.c 2008-01-28 19:01:05.093350913 +0100
7 * Convert HAL channels to ieee80211 ones.
10 IPRINTF(sc, "HAL returned %d channels.\n", nchan);
12 for (i = 0; i < nchan; i++) {
13 HAL_CHANNEL *c = &chans[i];
14 struct ieee80211_channel *ichan = &ic->ic_channels[i];
16 ic->ic_chan_non_occupy[i].tv_sec = 0;
17 ic->ic_chan_non_occupy[i].tv_usec = 0;
20 IPRINTF(sc, "Channel %3d (%4d MHz) Max Tx Power %d dBm%s "
21 "[%d hw %d reg] Flags%s%s%s%s%s%s%s%s%s%s%s%s%"
22 "s%s%s%s%s%s%s%s%s%s%s%s\n",
24 (c->privFlags & 0x0080 ?
25 " PF & (1 << 7)" : "")
29 ic->ic_nchans = nchan;