aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_roboswitch.c
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2008-11-19 19:20:24 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-19 19:20:24 (GMT)
commitea6380e7c9ff92b218a52186c8d0bd974dae981b (patch)
treec98a95fa0b7877f9ded3549da2cc8de4d7bdb1d2 /src/drivers/driver_roboswitch.c
parent2d981c2fd026688f3140e716c83cba200a6b9fc1 (diff)
downloadhostap-ea6380e7c9ff92b218a52186c8d0bd974dae981b.zip
hostap-ea6380e7c9ff92b218a52186c8d0bd974dae981b.tar.gz
hostap-ea6380e7c9ff92b218a52186c8d0bd974dae981b.tar.bz2
Fixed a bug in read -> _read cleanup; one missed change
Diffstat (limited to 'src/drivers/driver_roboswitch.c')
-rw-r--r--src/drivers/driver_roboswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_roboswitch.c b/src/drivers/driver_roboswitch.c
index 43c800f..519f893 100644
--- a/src/drivers/driver_roboswitch.c
+++ b/src/drivers/driver_roboswitch.c
@@ -256,7 +256,7 @@ static int wpa_driver_roboswitch_leave(struct wpa_driver_roboswitch_data *drv,
if (_read[0] == drv->ports) {
wpa_driver_roboswitch_read(drv, ROBO_ARLCTRL_PAGE,
mport[i + 1], _read, 3);
- if (os_memcmp(read, addr_word, 6) == 0)
+ if (os_memcmp(_read, addr_word, 6) == 0)
break;
}
}