Add ubsec ssb from Daniel Mueller <daniel@danm.de> (#2417)
[openwrt.git] / package / madwifi / patches / 325-channel_spam.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -9783,7 +9783,9 @@
4 /*
5 * Convert HAL channels to ieee80211 ones.
6 */
7 +#ifdef AR_DEBUG
8 IPRINTF(sc, "HAL returned %d channels.\n", nchan);
9 +#endif
10 for (i = 0; i < nchan; i++) {
11 HAL_CHANNEL *c = &chans[i];
12 struct ieee80211_channel *ichan = &ic->ic_channels[i];
13 @@ -9810,6 +9812,7 @@
14 ic->ic_chan_non_occupy[i].tv_sec = 0;
15 ic->ic_chan_non_occupy[i].tv_usec = 0;
16
17 +#ifdef AR_DEBUG
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 @@ -9898,6 +9901,7 @@
22 (c->privFlags & 0x0080 ?
23 " PF & (1 << 7)" : "")
24 );
25 +#endif
26 }
27 ic->ic_nchans = nchan;
28 kfree(chans);
This page took 0.046838 seconds and 5 git commands to generate.