View | Details | Raw Unified | Return to bug 196264 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/iwn/if_iwn.c (-6 / +1 lines)
Lines 6818-6830 Link Here
6818
	chan->active = htole16(dwell_active);
6818
	chan->active = htole16(dwell_active);
6819
	chan->passive = htole16(dwell_passive);
6819
	chan->passive = htole16(dwell_passive);
6820
6820
6821
	if (IEEE80211_IS_CHAN_5GHZ(c) &&
6821
	if (IEEE80211_IS_CHAN_5GHZ(c)) {
6822
	    !(c->ic_flags & IEEE80211_CHAN_PASSIVE)) {
6823
		chan->rf_gain = 0x3b;
6822
		chan->rf_gain = 0x3b;
6824
	} else if (IEEE80211_IS_CHAN_5GHZ(c)) {
6825
		chan->rf_gain = 0x3b;
6826
	} else if (!(c->ic_flags & IEEE80211_CHAN_PASSIVE)) {
6827
		chan->rf_gain = 0x28;
6828
	} else {
6823
	} else {
6829
		chan->rf_gain = 0x28;
6824
		chan->rf_gain = 0x28;
6830
	}
6825
	}

Return to bug 196264