summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch')
-rw-r--r--package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch b/package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch
new file mode 100644
index 0000000000..eb490e43c8
--- /dev/null
+++ b/package/kernel/mac80211/patches/916-wlcore-increase-timeout-to-5000-msecs.patch
@@ -0,0 +1,21 @@
+dfs configuration command might take longer than
+the current timeout. increase it to 5 seconds.
+
+Signed-off-by: Yaniv Machani <yanivma@ti.com>
+Signed-off-by: Eliad Peller <eliad@wizery.com>
+
+---
+drivers/net/wireless/ti/wlcore/cmd.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/wireless/ti/wlcore/cmd.h
++++ b/drivers/net/wireless/ti/wlcore/cmd.h
+@@ -207,7 +207,7 @@ enum cmd_templ {
+ #define WL1271_COMMAND_TIMEOUT 2000
+ #define WL1271_CMD_TEMPL_DFLT_SIZE 252
+ #define WL1271_CMD_TEMPL_MAX_SIZE 512
+-#define WL1271_EVENT_TIMEOUT 1500
++#define WL1271_EVENT_TIMEOUT 5000
+
+ struct wl1271_cmd_header {
+ __le16 id;