diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/sme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index 10ed36621bd7..e7a8851093a7 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c | |||
@@ -227,7 +227,7 @@ static void __cfg80211_sme_scan_done(struct net_device *dev) | |||
227 | if (wdev->sme_state != CFG80211_SME_CONNECTING) | 227 | if (wdev->sme_state != CFG80211_SME_CONNECTING) |
228 | return; | 228 | return; |
229 | 229 | ||
230 | if (WARN_ON(!wdev->conn)) | 230 | if (!wdev->conn) |
231 | return; | 231 | return; |
232 | 232 | ||
233 | if (wdev->conn->state != CFG80211_CONN_SCANNING && | 233 | if (wdev->conn->state != CFG80211_CONN_SCANNING && |