nl80211: Add debug print for channel changes

This commit is contained in:
Jouni Malinen 2011-10-15 13:29:56 +03:00
parent dcd1eb5be5
commit 44dc872ee5

View file

@ -4123,6 +4123,9 @@ static int wpa_driver_nl80211_set_freq(struct wpa_driver_nl80211_data *drv,
struct nl_msg *msg; struct nl_msg *msg;
int ret; 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(); msg = nlmsg_alloc();
if (!msg) if (!msg)
return -1; return -1;