ref: ac4840116ef15e2fc65d0e68f7e16d3a8a1aa2f8
parent: 35d80de9804385bcde1b75dbefa3d3448d8fc7ab
author: ppatience0 <ppatience0@gmail.com>
date: Sat Jun 22 16:36:56 EDT 2013
wifi: fix typo
--- a/sys/src/9/pc/wifi.c
+++ b/sys/src/9/pc/wifi.c
@@ -648,7 +648,7 @@
strncpy(wifi->essid, cb->f[1], Essidlen);
for(wn = wifi->node; wn != &wifi->node[nelem(wifi->node)]; wn++)
if(strcmp(wifi->essid, wn->ssid) == 0){- /* both must match if specifid */
+ /* both must match if specified */
if(memcmp(wifi->bssid, wifi->ether->bcast, Eaddrlen) != 0
&& memcmp(wifi->bssid, wn->bssid, Eaddrlen) != 0)
continue;
@@ -666,7 +666,7 @@
case CMbssid:
memmove(wifi->bssid, addr, Eaddrlen);
if(wn != nil){- /* both must match if specifid */
+ /* both must match if specified */
if(wifi->essid[0] == 0 || strcmp(wifi->essid, wn->ssid) == 0){wifi->bss = wn;
setstatus(wifi, Sconn);
--
⑨