summaryrefslogtreecommitdiffstats
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>2017-01-13 01:12:21 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-01-13 09:46:18 +0100
commit3093ebbeabcdddc9a982950052f2151df43c7aa2 (patch)
treedb6afd55eb0883bbafb912afd088fb942033a32f /net/wireless/util.c
parentbf95ecdba93b98d27ac219e79f773f2074b4ca47 (diff)
downloadlinux-stable-3093ebbeabcdddc9a982950052f2151df43c7aa2.tar.gz
linux-stable-3093ebbeabcdddc9a982950052f2151df43c7aa2.tar.bz2
linux-stable-3093ebbeabcdddc9a982950052f2151df43c7aa2.zip
cfg80211: Specify the reason for connect timeout
This enhances the connect timeout API to also carry the reason for the timeout. These reason codes for the connect time out are represented by enum nl80211_timeout_reason and are passed to user space through a new attribute NL80211_ATTR_TIMEOUT_REASON (u32). Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com> Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> [keep gfp_t argument last] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r--net/wireless/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index cd8a7ae55e7d..1b9296882dcd 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -951,7 +951,7 @@ void cfg80211_process_wdev_events(struct wireless_dev *wdev)
ev->cr.resp_ie, ev->cr.resp_ie_len,
ev->cr.status,
ev->cr.status == WLAN_STATUS_SUCCESS,
- ev->cr.bss);
+ ev->cr.bss, ev->cr.timeout_reason);
break;
case EVENT_ROAMED:
__cfg80211_roamed(wdev, ev->rm.bss, ev->rm.req_ie,