diff options
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c index 1902e2fa1a68..5934e40ee55d 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c | |||
@@ -1916,7 +1916,7 @@ static int ath6kl_wow_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) | |||
1916 | return -EIO; | 1916 | return -EIO; |
1917 | 1917 | ||
1918 | if (!test_bit(CONNECTED, &vif->flags)) | 1918 | if (!test_bit(CONNECTED, &vif->flags)) |
1919 | return -EINVAL; | 1919 | return -ENOTCONN; |
1920 | 1920 | ||
1921 | if (wow && (wow->n_patterns > WOW_MAX_FILTERS_PER_LIST)) | 1921 | if (wow && (wow->n_patterns > WOW_MAX_FILTERS_PER_LIST)) |
1922 | return -EINVAL; | 1922 | return -EINVAL; |