diff options
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 461e692cdfec..fee9bf70efcf 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -514,7 +514,7 @@ static int __cfg80211_mlme_disassoc(struct cfg80211_registered_device *rdev, | |||
514 | if (wdev->sme_state != CFG80211_SME_CONNECTED) | 514 | if (wdev->sme_state != CFG80211_SME_CONNECTED) |
515 | return -ENOTCONN; | 515 | return -ENOTCONN; |
516 | 516 | ||
517 | if (WARN_ON(!wdev->current_bss)) | 517 | if (WARN(!wdev->current_bss, "sme_state=%d\n", wdev->sme_state)) |
518 | return -ENOTCONN; | 518 | return -ENOTCONN; |
519 | 519 | ||
520 | memset(&req, 0, sizeof(req)); | 520 | memset(&req, 0, sizeof(req)); |