Several of the USB timeouts were chosen on the principle of "pick an arbitrary but ridiculously large value, just to be safe". It turns out that some of the timeouts permitted by the USB specification are even larger: for example, control transactions are allowed to take up to five seconds to complete. Fix up these USB timeout values to match those found in the USB2 specification. Debugged-by: Robin Smidsrød <robin@smidsrod.no> Tested-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
1281 |
|
1281 |
|
1282 |
|
1282 |
|
1283 |
|
1283 |
|
|
1284 |
|
|
|
1285 |
|
|
|
1286 |
|
|
1284 |
|
1287 |
|
1285 |
|
1288 |
|
1286 |
|
1289 |
|
|
|
||
1316 |
|
1319 |
|
1317 |
|
1320 |
|
1318 |
|
1321 |
|
|
1322 |
|
|
|
1323 |
|
|
|
1324 |
|
|
1319 |
|
1325 |
|
1320 |
|
1326 |
|
1321 |
|
1327 |
|
|
|
||
991 |
|
991 |
|
992 |
|
992 |
|
993 |
|
993 |
|
994 |
|
|
|
|
994 |
|
|
|
995 |
|
|
|
996 |
|
|
995 |
|
997 |
|
996 |
|
|
|
|
998 |
|
|
997 |
|
999 |
|
998 |
|
1000 |
|
999 |
|
1001 |
|
|
|
||
1178 |
|
1178 |
|
1179 |
|
1179 |
|
1180 |
|
1180 |
|
1181 |
|
|
|
|
1181 |
|
|
|
1182 |
|
|
|
1183 |
|
|
|
1184 |
|
|
|
1185 |
|
|
1182 |
|
1186 |
|
1183 |
|
1187 |
|
|
1188 |
|
|
|
1189 |
|
|
|
1190 |
|
|
|
1191 |
|
|
|
1192 |
|
|
|
1193 |
|
|
|
1194 |
|
|
1184 |
|
1195 |
|
1185 |
|
1196 |
|
1186 |
|
|
|
|
1197 |
|
|
|
1198 |
|
|
|
1199 |
|
|
|
1200 |
|
|
|
1201 |
|
|
|
1202 |
|
|
|
1203 |
|
|
|
1204 |
|
|
|
1205 |
|
|
1187 |
|
1206 |
|
1188 |
|
|
|
|
1207 |
|
|
1189 |
|
1208 |
|
1190 |
|
1209 |
|
1191 |
|
1210 |
|
1192 |
|
|
|
|
1211 |
|
|
|
1212 |
|
|
|
1213 |
|
|
|
1214 |
|
|
1193 |
|
1215 |
|
1194 |
|
|
|
|
1216 |
|
|
1195 |
|
1217 |
|
1196 |
|
1218 |
|
1197 |
|
1219 |
|