diff options
author | Purushottam Kushwaha <pkushwah@qti.qualcomm.com> | 2017-01-13 01:12:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-01-13 09:46:18 +0100 |
commit | 3093ebbeabcdddc9a982950052f2151df43c7aa2 (patch) | |
tree | db6afd55eb0883bbafb912afd088fb942033a32f /net/wireless/mlme.c | |
parent | bf95ecdba93b98d27ac219e79f773f2074b4ca47 (diff) | |
download | linux-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/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index b876f40c9dad..22b3d9990065 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -48,7 +48,8 @@ void cfg80211_rx_assoc_resp(struct net_device *dev, struct cfg80211_bss *bss, /* update current_bss etc., consumes the bss reference */ __cfg80211_connect_result(dev, mgmt->bssid, NULL, 0, ie, len - ieoffs, status_code, - status_code == WLAN_STATUS_SUCCESS, bss); + status_code == WLAN_STATUS_SUCCESS, bss, + NL80211_TIMEOUT_UNSPECIFIED); } EXPORT_SYMBOL(cfg80211_rx_assoc_resp); |