Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279232
b: refs/heads/master
c: f143379
h: refs/heads/master
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Nov 21, 2011
1 parent a2b205a commit 3d6953c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 774439ad88ecec928ab4a438946ee4985116c481
refs/heads/master: f143379dbf5e0709d6d39b50995ff6d697564834
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2456,12 +2456,6 @@ struct ath6kl *ath6kl_core_alloc(struct device *dev)

ar->vif_max = 1;

if (!ar->p2p)
ar->max_norm_iface = 2;
else
ar->max_norm_iface = 1;

/* FIXME: Remove this once the multivif support is enabled */
ar->max_norm_iface = 1;

spin_lock_init(&ar->lock);
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,9 @@ static int ath6kl_fetch_fw_api2(struct ath6kl *ar)
ar->vif_max = min_t(unsigned int, le32_to_cpup(val),
ATH6KL_VIF_MAX);

if (ar->vif_max > 1 && !ar->p2p)
ar->max_norm_iface = 2;

ath6kl_dbg(ATH6KL_DBG_BOOT,
"found vif max ie %d\n", ar->vif_max);
break;
Expand Down

0 comments on commit 3d6953c

Please sign in to comment.