bm92t: fix old stupid bug
This commit is contained in:
1 parent
8ab719f183
commit
d71b4b5272
1 file changed
+1
-1
@@ -1271,7 +1271,7 @@ static void bm92t_usbhub_dp_sleep(struct bm92t_info *info, bool sleep)
|
||||
bm92t_send_vdm(info, vdm_usbhub_dp_sleep_msg,
|
||||
sizeof(vdm_usbhub_dp_sleep_msg));
|
||||
|
||||
while (info->state != NINTENDO_CONFIG_HANDLED ||
|
||||
while (info->state != NINTENDO_CONFIG_HANDLED &&
|
||||
info->state != DOCK_CONFIG_HANDLED) {
|
||||
retries--;
|
||||
if (retries < 0)
|
||||
|
||||
Reference in new issue
Block a user