aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/sta_info.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-04-03 16:37:21 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-04 05:14:14 (GMT)
commit0823031750afbf4ea087a86d73c095fb99ea4d0c (patch)
tree1502e7b58755c10b0226ac01d0761bac6f2e4c4b /src/ap/sta_info.c
parentade07077ece86513da28b88011e3a4e203c2456b (diff)
downloadhostap-0823031750afbf4ea087a86d73c095fb99ea4d0c.zip
hostap-0823031750afbf4ea087a86d73c095fb99ea4d0c.tar.gz
hostap-0823031750afbf4ea087a86d73c095fb99ea4d0c.tar.bz2
Fix Windows compilation issues with AP mode code
Diffstat (limited to 'src/ap/sta_info.c')
-rw-r--r--src/ap/sta_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/sta_info.c b/src/ap/sta_info.c
index 7ac5d50..b410a7b 100644
--- a/src/ap/sta_info.c
+++ b/src/ap/sta_info.c
@@ -288,6 +288,7 @@ void ap_handle_timer(void *eloop_ctx, void *timeout_ctx)
if (sta->timeout_next == STA_NULLFUNC &&
(sta->flags & WLAN_STA_ASSOC)) {
+#ifndef CONFIG_NATIVE_WINDOWS
/* send data frame to poll STA and check whether this frame
* is ACKed */
struct ieee80211_hdr hdr;
@@ -295,7 +296,6 @@ void ap_handle_timer(void *eloop_ctx, void *timeout_ctx)
wpa_printf(MSG_DEBUG, " Polling STA with data frame");
sta->flags |= WLAN_STA_PENDING_POLL;
-#ifndef CONFIG_NATIVE_WINDOWS
os_memset(&hdr, 0, sizeof(hdr));
if (hapd->driver &&
os_strcmp(hapd->driver->name, "hostap") == 0) {