Parcourir la source

nl80211: Show remain-on-channel duration in debug output

Jouni Malinen il y a 14 ans
Parent
commit
15ed5535ad
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/drivers/driver_nl80211.c

+ 2 - 1
src/drivers/driver_nl80211.c

@@ -5132,7 +5132,8 @@ static int wpa_driver_nl80211_remain_on_channel(void *priv, unsigned int freq,
 		return 0;
 	}
 	wpa_printf(MSG_DEBUG, "nl80211: Failed to request remain-on-channel "
-		   "(freq=%d): %d (%s)", freq, ret, strerror(-ret));
+		   "(freq=%d duration=%u): %d (%s)",
+		   freq, duration, ret, strerror(-ret));
 nla_put_failure:
 	return -1;
 }