Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e61f2340 authored by Jouni Malinen's avatar Jouni Malinen Committed by John W. Linville
Browse files

nl80211: Send timeout event on failed direct probe



If the direct probe times out, we need to send the authentication
timeout event to notify SME in the same way as we notify on timeout
with authentication frames since the direct probe is run as part of
the authentication attempt.

Signed-off-by: default avatarJouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 24487981
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -890,7 +890,7 @@ static void ieee80211_direct_probe(struct ieee80211_sub_if_data *sdata)
		printk(KERN_DEBUG "%s: direct probe to AP %pM timed out\n",
		printk(KERN_DEBUG "%s: direct probe to AP %pM timed out\n",
		       sdata->dev->name, ifmgd->bssid);
		       sdata->dev->name, ifmgd->bssid);
		ifmgd->state = IEEE80211_STA_MLME_DISABLED;
		ifmgd->state = IEEE80211_STA_MLME_DISABLED;
		ieee80211_sta_send_apinfo(sdata);
		cfg80211_send_auth_timeout(sdata->dev, ifmgd->bssid);


		/*
		/*
		 * Most likely AP is not in the range so remove the
		 * Most likely AP is not in the range so remove the