|
@@ -2217,7 +2217,7 @@ static int ath6kl_wow_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow)
|
|
|
|
|
|
/* enter / leave wow suspend on first vif always */
|
|
|
first_vif = ath6kl_vif_first(ar);
|
|
|
- if (WARN_ON(unlikely(!first_vif)) ||
|
|
|
+ if (WARN_ON(!first_vif) ||
|
|
|
!ath6kl_cfg80211_ready(first_vif))
|
|
|
return -EIO;
|
|
|
|
|
@@ -2297,7 +2297,7 @@ static int ath6kl_wow_resume(struct ath6kl *ar)
|
|
|
int ret;
|
|
|
|
|
|
vif = ath6kl_vif_first(ar);
|
|
|
- if (WARN_ON(unlikely(!vif)) ||
|
|
|
+ if (WARN_ON(!vif) ||
|
|
|
!ath6kl_cfg80211_ready(vif))
|
|
|
return -EIO;
|
|
|
|