projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d88a1
)
IBSS RSN: peer->addr is an array so it cannot be NULL
author
Jouni Malinen
<jouni.malinen@atheros.com>
Thu, 14 Apr 2011 17:18:12 +0000
(20:18 +0300)
committer
Jouni Malinen
<j@w1.fi>
Thu, 14 Apr 2011 17:18:12 +0000
(20:18 +0300)
wpa_supplicant/ibss_rsn.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ibss_rsn.c
b/wpa_supplicant/ibss_rsn.c
index
9789d32
..
0d7d568
100644
(file)
--- a/
wpa_supplicant/ibss_rsn.c
+++ b/
wpa_supplicant/ibss_rsn.c
@@
-132,7
+132,7
@@
static int supp_set_key(void *ctx, enum wpa_alg alg,
}
}
- if (is_broadcast_ether_addr(addr)
&& peer->addr
)
+ if (is_broadcast_ether_addr(addr))
addr = peer->addr;
return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx,
set_tx, seq, seq_len, key, key_len);