Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352301
b: refs/heads/master
c: d994a1c
h: refs/heads/master
i:
  352299: 293b1e0
v: v3
  • Loading branch information
Yogesh Ashok Powar authored and John W. Linville committed Jan 30, 2013
1 parent e8c470e commit 2eb3b3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 751930cb1d6da7b7891d8ffe84877cbf21915e0d
refs/heads/master: d994a1c867ed301aaad26f769885d78e599e1daf
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -4708,7 +4708,7 @@ static int mwl8k_add_interface(struct ieee80211_hw *hw,
/* Set the mac address. */
mwl8k_cmd_set_mac_addr(hw, vif, vif->addr);

if (priv->ap_fw)
if (vif->type == NL80211_IFTYPE_AP)
mwl8k_cmd_set_new_stn_add_self(hw, vif);

priv->macids_used |= 1 << mwl8k_vif->macid;
Expand All @@ -4733,7 +4733,7 @@ static void mwl8k_remove_interface(struct ieee80211_hw *hw,
struct mwl8k_priv *priv = hw->priv;
struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif);

if (priv->ap_fw)
if (vif->type == NL80211_IFTYPE_AP)
mwl8k_cmd_set_new_stn_del(hw, vif, vif->addr);

mwl8k_cmd_del_mac_addr(hw, vif, vif->addr);
Expand Down

0 comments on commit 2eb3b3e

Please sign in to comment.