Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306729
b: refs/heads/master
c: 77ed4e4
h: refs/heads/master
i:
  306727: 1637713
v: v3
  • Loading branch information
Thomas Pedersen authored and Kalle Valo committed Apr 23, 2012
1 parent bc58c07 commit 8fcc511
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37a2f950acc08cce6532138625de0b7caed21476
refs/heads/master: 77ed4e45833fc12f3178a65853687b60e952eddd
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2059,6 +2059,10 @@ static int ath6kl_wow_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow)
u8 index = 0;
__be32 ips[MAX_IP_ADDRS];

/* The FW currently can't support multi-vif WoW properly. */
if (ar->num_vif > 1)
return -EIO;

vif = ath6kl_vif_first(ar);
if (!vif)
return -EIO;
Expand Down Expand Up @@ -3137,6 +3141,10 @@ static int ath6kl_cfg80211_sscan_start(struct wiphy *wiphy,
if (vif->sme_state != SME_DISCONNECTED)
return -EBUSY;

/* The FW currently can't support multi-vif WoW properly. */
if (ar->num_vif > 1)
return -EIO;

ath6kl_cfg80211_scan_complete_event(vif, true);

ret = ath6kl_set_probed_ssids(ar, vif, request->ssids,
Expand Down

0 comments on commit 8fcc511

Please sign in to comment.