diff options
author | Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> | 2010-05-07 04:39:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-07 14:57:19 -0400 |
commit | 0cbb1034396243173fa5acac715fcf416fa76644 (patch) | |
tree | 294f8c1b9f90d9cfb08ecad187e4cddb795f7f51 /drivers | |
parent | 69e5434cd536c7eb4d5be0d0b7db06ed420c1315 (diff) |
wl1271: Increase timeout for command event waiting
Incresed the timeout value for command complete event waiting from 100
ms to 750 ms. In some rare cases it can take about 600 ms before
complete event for join command is received. This is most propably
caused by the firmware being busy with scanning related activities.
Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h index 00f78b7aa384..f2820b42a943 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.h +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h | |||
@@ -129,7 +129,7 @@ enum cmd_templ { | |||
129 | /* unit ms */ | 129 | /* unit ms */ |
130 | #define WL1271_COMMAND_TIMEOUT 2000 | 130 | #define WL1271_COMMAND_TIMEOUT 2000 |
131 | #define WL1271_CMD_TEMPL_MAX_SIZE 252 | 131 | #define WL1271_CMD_TEMPL_MAX_SIZE 252 |
132 | #define WL1271_EVENT_TIMEOUT 100 | 132 | #define WL1271_EVENT_TIMEOUT 750 |
133 | 133 | ||
134 | struct wl1271_cmd_header { | 134 | struct wl1271_cmd_header { |
135 | __le16 id; | 135 | __le16 id; |