summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurushottam Kushwaha <pkushwah@codeaurora.org>2017-03-04 11:05:26 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-06 21:19:06 -0800
commit4f74effbf0deda7da5ae3393cbc9539d6fcf7ead (patch)
treeb86c32120b42fc019f5575a417838058b6e0726b
parentdcfe1516104019774390d0c0ab3ddf195401bcf6 (diff)
msm: wlan: Define CFG80211_CONNECT_TIMEOUT
To indicate, presence of cfg80211_connect_timeout() api to wlan driver, CFG80211_CONNECT_TIMEOUT is defined and depends on commit 48f3dee442d9 ("cfg80211: Allow cfg80211_connect_result() errors to be distinguished") which implements cfg80211_connect_timeout(). When CFG80211_CONNECT_TIMEOUT is defined and if wlan connection attempt failed due to timeout, then wlan driver invokes cfg80211_connect_timeout(). CRs-Fixed: 2004380 Change-Id: Ie2c16eb9c1a1330264daf843848c7da43da49b6c Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
-rw-r--r--include/net/cfg80211.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index cb10d2c2a712..6e7fa4696aed 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -71,6 +71,7 @@ struct wiphy;
#define CFG80211_BEACON_TX_RATE_CUSTOM_BACKPORT 1
#define CFG80211_RAND_TA_FOR_PUBLIC_ACTION_FRAME 1
#define CFG80211_REPORT_BETTER_BSS_IN_SCHED_SCAN 1
+#define CFG80211_CONNECT_TIMEOUT 1
/*
* wireless hardware capability structures