Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2016 18:08:38 +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: r299083 - head/sys/dev/wi
Message-ID:  <201605041808.u44I8c86072208@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Wed May  4 18:08:38 2016
New Revision: 299083
URL: https://svnweb.freebsd.org/changeset/base/299083

Log:
  wi: fix a comment (0x1fff has 13 bits set).

Modified:
  head/sys/dev/wi/if_wi.c

Modified: head/sys/dev/wi/if_wi.c
==============================================================================
--- head/sys/dev/wi/if_wi.c	Wed May  4 17:54:13 2016	(r299082)
+++ head/sys/dev/wi/if_wi.c	Wed May  4 18:08:38 2016	(r299083)
@@ -337,7 +337,7 @@ wi_attach(device_t dev)
 	 */
 	buflen = sizeof(val);
 	if (wi_read_rid(sc, WI_RID_CHANNEL_LIST, &val, &buflen) != 0)
-		val = htole16(0x1fff);	/* assume 1-11 */
+		val = htole16(0x1fff);	/* assume 1-13 */
 	KASSERT(val != 0, ("wi_attach: no available channels listed!"));
 
 	val <<= 1;			/* shift for base 1 indices */



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