aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2_packet
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-12 20:41:18 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-12 20:41:18 (GMT)
commit329a55b314e56763c8d4181c4c8a23aa071cd3a4 (patch)
treed31d1682934d6995462615fc01814b0ed6a0c101 /src/l2_packet
parente33bbd8f4d4ffb69eeb7347764895abb9b8cd115 (diff)
downloadhostap-329a55b314e56763c8d4181c4c8a23aa071cd3a4.zip
hostap-329a55b314e56763c8d4181c4c8a23aa071cd3a4.tar.gz
hostap-329a55b314e56763c8d4181c4c8a23aa071cd3a4.tar.bz2
Ported driver_test to Windows (only UDP socket available)
Diffstat (limited to 'src/l2_packet')
-rw-r--r--src/l2_packet/l2_packet_winpcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/l2_packet/l2_packet_winpcap.c b/src/l2_packet/l2_packet_winpcap.c
index 2879da7..f76b386 100644
--- a/src/l2_packet/l2_packet_winpcap.c
+++ b/src/l2_packet/l2_packet_winpcap.c
@@ -336,5 +336,6 @@ int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len)
void l2_packet_notify_auth_start(struct l2_packet_data *l2)
{
- SetEvent(l2->rx_notify);
+ if (l2)
+ SetEvent(l2->rx_notify);
}