|
@@ -6924,6 +6924,7 @@ static void nl80211_poll_client(void *priv, const u8 *own_addr, const u8 *addr,
|
|
|
struct i802_bss *bss = priv;
|
|
|
struct wpa_driver_nl80211_data *drv = bss->drv;
|
|
|
struct nl_msg *msg;
|
|
|
+ int ret;
|
|
|
|
|
|
if (!drv->poll_command_supported) {
|
|
|
nl80211_send_null_frame(bss, own_addr, addr, qos);
|
|
@@ -6936,7 +6937,12 @@ static void nl80211_poll_client(void *priv, const u8 *own_addr, const u8 *addr,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- send_and_recv_msgs(drv, msg, NULL, NULL);
|
|
|
+ ret = send_and_recv_msgs(drv, msg, NULL, NULL);
|
|
|
+ if (ret < 0) {
|
|
|
+ wpa_printf(MSG_DEBUG, "nl80211: Client probe request for "
|
|
|
+ MACSTR " failed: ret=%d (%s)",
|
|
|
+ MAC2STR(addr), ret, strerror(-ret));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|