Browse Source

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

Jouke Witteveen 16 years ago
parent
commit
ea6380e7c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/driver_roboswitch.c

+ 1 - 1
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;
 		}
 	}