[net80211] fix duration field; it's unsigned, but not long.
Submitted by: Imre Vadasz <imre@vdsz.com> Obtained from: DragonflyBSD
This commit is contained in:
parent
9a1b64d5a0
commit
098b3fe173
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user