Browse Source

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

Jouni Malinen 14 years ago
parent
commit
15ed5535ad
1 changed files with 2 additions and 1 deletions
  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;
 }