From 4f74effbf0deda7da5ae3393cbc9539d6fcf7ead Mon Sep 17 00:00:00 2001 From: Purushottam Kushwaha Date: Sat, 4 Mar 2017 11:05:26 +0530 Subject: [PATCH] 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 --- include/net/cfg80211.h | 1 + 1 file changed, 1 insertion(+) 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