]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
rt2x00: change REGISTER_TIMEOUT
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 26 Nov 2014 14:29:15 +0000 (15:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:21 +0000 (15:57 -0500)
Waiting 500ms for register access is too long, decrease this value
to 100ms.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00usb.h

index 819690e978c07dc27e50b2cff1fa3e64f37e3486..8f85fbd5f237eff576e343009d1aeefe26a39f02 100644 (file)
@@ -38,7 +38,7 @@
  * a higher value is required. In that case we use the REGISTER_TIMEOUT_FIRMWARE
  * and EEPROM_TIMEOUT.
  */
-#define REGISTER_TIMEOUT               500
+#define REGISTER_TIMEOUT               100
 #define REGISTER_TIMEOUT_FIRMWARE      1000
 #define EEPROM_TIMEOUT                 2000