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>
This commit is contained in:
Purushottam Kushwaha 2017-03-04 11:05:26 +05:30 committed by Gerrit - the friendly Code Review server
parent dcfe151610
commit 4f74effbf0

View file

@ -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