Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 16:58:55 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311105 - head/sys/dev/usb/wlan
Message-ID:  <201701021658.v02Gwtxc090362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Mon Jan  2 16:58:55 2017
New Revision: 311105
URL: https://svnweb.freebsd.org/changeset/base/311105

Log:
  rsu: restore 40Mhz channel support.
  
  MFC after:	4 days.

Modified:
  head/sys/dev/usb/wlan/if_rsu.c

Modified: head/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rsu.c	Mon Jan  2 16:50:52 2017	(r311104)
+++ head/sys/dev/usb/wlan/if_rsu.c	Mon Jan  2 16:58:55 2017	(r311105)
@@ -775,7 +775,8 @@ rsu_getradiocaps(struct ieee80211com *ic
 	if (sc->sc_ht)
 		setbit(bands, IEEE80211_MODE_11NG);
 	ieee80211_add_channel_list_2ghz(chans, maxchans, nchans,
-	    rsu_chan_2ghz, nitems(rsu_chan_2ghz), bands, 0);
+	    rsu_chan_2ghz, nitems(rsu_chan_2ghz), bands,
+	    (ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) != 0);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701021658.v02Gwtxc090362>