Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 17:17:07 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293164 - head/sys/net80211
Message-ID:  <201601041717.u04HH7Mi074528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jan  4 17:17:06 2016
New Revision: 293164
URL: https://svnweb.freebsd.org/changeset/base/293164

Log:
  [net80211] fix duration field; it's unsigned, but not long.
  
  Submitted by:	Imre Vadasz <imre@vdsz.com>
  Obtained from:	DragonflyBSD

Modified:
  head/sys/net80211/ieee80211_scan_sw.c

Modified: head/sys/net80211/ieee80211_scan_sw.c
==============================================================================
--- head/sys/net80211/ieee80211_scan_sw.c	Mon Jan  4 16:51:56 2016	(r293163)
+++ head/sys/net80211/ieee80211_scan_sw.c	Mon Jan  4 17:17:06 2016	(r293164)
@@ -359,7 +359,7 @@ ieee80211_swscan_bg_scan(const struct ie
 		duration = IEEE80211_SCAN_OFFCHANNEL;
 
 		IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
-		    "%s: %s scan, ticks %u duration %lu\n", __func__,
+		    "%s: %s scan, ticks %u duration %u\n", __func__,
 		    ss->ss_flags & IEEE80211_SCAN_ACTIVE ? "active" : "passive",
 		    ticks, duration);
 



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