Browse Source

nl80211: Add debug print for channel changes

Jouni Malinen 13 years ago
parent
commit
44dc872ee5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/drivers/driver_nl80211.c

+ 3 - 0
src/drivers/driver_nl80211.c

@@ -4123,6 +4123,9 @@ static int wpa_driver_nl80211_set_freq(struct wpa_driver_nl80211_data *drv,
 	struct nl_msg *msg;
 	int ret;
 
+	wpa_printf(MSG_DEBUG, "nl80211: Set freq %d (ht_enabled=%d "
+		   "sec_channel_offset=%d)",
+		   freq, ht_enabled, sec_channel_offset);
 	msg = nlmsg_alloc();
 	if (!msg)
 		return -1;