Skip to contentSkip to conversation

wireless: Add more info to mlme WARNing.

PATCH New [email protected] 1 participant 1 message Apr 2, 2012 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireless: Add more info to mlme WARNing.

From: Ben Greear <[email protected]>

---
:100644 100644 205f81a... 59bed1f... M net/wireless/mlme.c

 net/wireless/mlme.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
net/wireless/mlme.c +2 -1
index 205f81a..59bed1f 100644
@@ -364,7 +364,8 @@ void cfg80211_send_assoc_timeout(struct net_device *dev, const u8 *addr)
 		}
 	}
 
-	WARN_ON(!done);
+	WARN(!done, "%s: MLME: Failed to send assoc-timeout, state: %i\n",
+	     dev->name, wdev->sme_state);
 
 	wdev_unlock(wdev);
 }
Signature · 1 line
1.7.3.4