diff options
author | adrian <adrian@FreeBSD.org> | 2016-01-04 17:17:06 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-01-04 17:17:06 +0000 |
commit | eee99444ca51cdafcde71ee1e7decd6abe8c7fa2 (patch) | |
tree | 44280fe34ba73be01baf4e54626a85faf212f312 /sys | |
parent | 31d78f6810b70b03dcf590bdcd1f8520d199099d (diff) | |
download | FreeBSD-src-eee99444ca51cdafcde71ee1e7decd6abe8c7fa2.zip FreeBSD-src-eee99444ca51cdafcde71ee1e7decd6abe8c7fa2.tar.gz |
[net80211] fix duration field; it's unsigned, but not long.
Submitted by: Imre Vadasz <imre@vdsz.com>
Obtained from: DragonflyBSD
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_scan_sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_scan_sw.c b/sys/net80211/ieee80211_scan_sw.c index 163633c..53e4520 100644 --- a/sys/net80211/ieee80211_scan_sw.c +++ b/sys/net80211/ieee80211_scan_sw.c @@ -359,7 +359,7 @@ ieee80211_swscan_bg_scan(const struct ieee80211_scanner *scan, 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); |