projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9843f6
)
Fixed build with wpa_printf disabled
author
Jouni Malinen
<j@w1.fi>
Mon, 12 Jan 2009 20:06:06 +0000
(22:06 +0200)
committer
Jouni Malinen
<j@w1.fi>
Mon, 12 Jan 2009 20:06:06 +0000
(22:06 +0200)
hostapd/driver_test.c
patch
|
blob
|
history
diff --git
a/hostapd/driver_test.c
b/hostapd/driver_test.c
index
afd7a01
..
0a87395
100644
(file)
--- a/
hostapd/driver_test.c
+++ b/
hostapd/driver_test.c
@@
-532,12
+532,11
@@
static void test_driver_eapol(struct test_driver_data *drv,
{
struct test_client_socket *cli;
if (datalen > 14) {
- u8 *proto = data + 2 * ETH_ALEN;
/* Skip Ethernet header */
wpa_printf(MSG_DEBUG, "test_driver: dst=" MACSTR " src="
MACSTR " proto=%04x",
MAC2STR(data), MAC2STR(data + ETH_ALEN),
- WPA_GET_BE16(
proto
));
+ WPA_GET_BE16(
data + 2 * ETH_ALEN
));
data += 14;
datalen -= 14;
}