View | Details | Raw Unified | Return to bug 209328
Collapse All | Expand All

(-)sbin/ifconfig/ifieee80211.c (-4 lines)
Lines 1984-1993 Link Here
1984
	 * everything below is to deal with channels that we
1984
	 * everything below is to deal with channels that we
1985
	 * want to include but that are not explicitly listed.
1985
	 * want to include but that are not explicitly listed.
1986
	 */
1986
	 */
1987
	if (flags & IEEE80211_CHAN_HT40) {
1988
		/* NB: we use an HT40 channel center that matches HT20 */
1989
		flags = (flags &~ IEEE80211_CHAN_HT40) | IEEE80211_CHAN_HT20;
1990
	}
1991
	if (chanlookup(avail->ic_chans, avail->ic_nchans, freq, flags) != NULL)
1987
	if (chanlookup(avail->ic_chans, avail->ic_nchans, freq, flags) != NULL)
1992
		return 1;
1988
		return 1;
1993
	if (flags & IEEE80211_CHAN_GSM) {
1989
	if (flags & IEEE80211_CHAN_GSM) {

Return to bug 209328