qcacld-3.0: hdd_ctx is missing in hdd_connect_result

hdd_ctx in hdd_connect_result is missed when changing
Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119.

Change-Id: Ic07976f45e5b51a998b0f4cdd99f98c92a799475
CRs-Fixed: 2177707
This commit is contained in:
Jingxiang Ge 2018-01-24 14:01:12 +08:00 committed by snandini
parent 19bf84d3c8
commit 929c793dc1

View File

@ -5521,9 +5521,7 @@ void hdd_connect_result(struct net_device *dev, const u8 *bssid,
{
struct hdd_adapter *padapter = (struct hdd_adapter *) netdev_priv(dev);
struct cfg80211_bss *bss = NULL;
struct hdd_context *hdd_ctx;
hdd_ctx = WLAN_HDD_GET_CTX(padapter);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(padapter);
if (WLAN_STATUS_SUCCESS == status) {
struct ieee80211_channel *chan;
@ -5564,6 +5562,7 @@ void hdd_connect_result(struct net_device *dev, const u8 *bssid,
tSirResultCodes timeout_reason)
{
struct hdd_adapter *padapter = (struct hdd_adapter *) netdev_priv(dev);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(padapter);
cfg80211_connect_result(dev, bssid, req_ie, req_ie_len,
resp_ie, resp_ie_len, status, gfp);