3 @@ -9792,7 +9792,9 @@ ath_getchannels(struct net_device *dev,
5 * Convert HAL channels to ieee80211 ones.
8 IPRINTF(sc, "HAL returned %d channels.\n", nchan);
10 for (i = 0; i < nchan; i++) {
11 HAL_CHANNEL *c = &chans[i];
12 struct ieee80211_channel *ichan = &ic->ic_channels[i];
13 @@ -9819,6 +9821,7 @@ ath_getchannels(struct net_device *dev,
14 ic->ic_chan_non_occupy[i].tv_sec = 0;
15 ic->ic_chan_non_occupy[i].tv_usec = 0;
18 IPRINTF(sc, "Channel %3d (%4d MHz) Max Tx Power %d dBm%s "
19 "[%d hw %d reg] Flags%s%s%s%s%s%s%s%s%s%s%s%s%"
20 "s%s%s%s%s%s%s%s%s%s%s%s\n",
21 @@ -9907,6 +9910,7 @@ ath_getchannels(struct net_device *dev,
22 (c->privFlags & 0x0080 ?
23 " PF & (1 << 7)" : "")
27 ic->ic_nchans = nchan;