aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>2016-02-09 07:16:56 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-22 19:51:19 (GMT)
commit077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe (patch)
tree717b2ee4151ae1a5ea8ab523044773b654aa69cd /src/ap/ieee802_11.c
parent46185f5bfdca1d505779e27d104907aee815c3bb (diff)
downloadhostap-077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe.zip
hostap-077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe.tar.gz
hostap-077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe.tar.bz2
AP: Debug print management frame TX result
Inside management frame TX status callback, print the TX result where it was missing. This is useful for debugging management frame drops. Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 685ac9b..84e6e15 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -2867,7 +2867,7 @@ void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
handle_assoc_cb(hapd, mgmt, len, 1, ok);
break;
case WLAN_FC_STYPE_PROBE_RESP:
- wpa_printf(MSG_EXCESSIVE, "mgmt::proberesp cb");
+ wpa_printf(MSG_EXCESSIVE, "mgmt::proberesp cb ok=%d", ok);
break;
case WLAN_FC_STYPE_DEAUTH:
wpa_printf(MSG_DEBUG, "mgmt::deauth cb");
@@ -2878,7 +2878,7 @@ void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
handle_disassoc_cb(hapd, mgmt, len, ok);
break;
case WLAN_FC_STYPE_ACTION:
- wpa_printf(MSG_DEBUG, "mgmt::action cb");
+ wpa_printf(MSG_DEBUG, "mgmt::action cb ok=%d", ok);
break;
default:
wpa_printf(MSG_INFO, "unknown mgmt cb frame subtype %d", stype);