Fixed a bug in read -> _read cleanup; one missed change

This commit is contained in:
Jouke Witteveen 2008-11-19 21:20:24 +02:00 committed by Jouni Malinen
parent 2d981c2fd0
commit ea6380e7c9

View file

@ -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;
}
}