diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-11 01:29:10 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-11 01:29:10 +0100 |
commit | 3376977d06e6dc8132dee443c20be6e045321c2f (patch) | |
tree | 4c1d7374457b5800aa83f2385f889bfe67645aaf /sys/src/9/pc/wifi.c | |
parent | 8f991a3faaae210d8acfd5e0c56d699643410041 (diff) |
wifi: actually check if management replies are for us
Diffstat (limited to 'sys/src/9/pc/wifi.c')
-rw-r--r-- | sys/src/9/pc/wifi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/pc/wifi.c b/sys/src/9/pc/wifi.c index 04410d615..6212be029 100644 --- a/sys/src/9/pc/wifi.c +++ b/sys/src/9/pc/wifi.c @@ -303,6 +303,8 @@ wifiproc(void *arg) } continue; } + if(memcmp(w->a1, wifi->ether->ea, Eaddrlen)) + continue; if((wn = nodelookup(wifi, w->a3, 0)) == nil) continue; if(wn != wifi->bss) |