aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-10-15 13:29:56 +0300
committerJouni Malinen <j@w1.fi>2011-10-15 13:29:56 +0300
commit44dc872ee5221c9c4fa25e20d03863ebd80c9f51 (patch)
tree3899584e465166b6697a3eee82410cbdd8fb38b6 /src
parentdcd1eb5be59376257d1dd9d79e6d592706100023 (diff)
downloadexternal_wpa_supplicant_8_ti-44dc872ee5221c9c4fa25e20d03863ebd80c9f51.zip
external_wpa_supplicant_8_ti-44dc872ee5221c9c4fa25e20d03863ebd80c9f51.tar.gz
external_wpa_supplicant_8_ti-44dc872ee5221c9c4fa25e20d03863ebd80c9f51.tar.bz2
nl80211: Add debug print for channel changes
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 42dec8d..7df3267 100644
--- a/src/drivers/driver_nl80211.c
+++ b/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;