Skip to contentSkip to conversation

nl80211: Send timeout event on failed direct probe

PATCH New Jouni Malinen 1 participant 1 message Apr 23, 2009 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 net/mac80211/mlme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/mlme.c +1 -1
@@ -882,7 +882,7 @@ static void ieee80211_direct_probe(struc
 		printk(KERN_DEBUG "%s: direct probe to AP %pM timed out\n",
 		       sdata->dev->name, ifmgd->bssid);
 		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
Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA