Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352298
b: refs/heads/master
c: d59c1cf
h: refs/heads/master
v: v3
  • Loading branch information
Yogesh Ashok Powar authored and John W. Linville committed Jan 30, 2013
1 parent a86e7d9 commit baf3d1c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 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: 2acdaa7a578cf43566950a6cfb70848ff6607553
refs/heads/master: d59c1cfd7c106f53272143bc3f05b0b15bdd5dfa
20 changes: 13 additions & 7 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ static int mwl8k_cmd_get_hw_spec_ap(struct ieee80211_hw *hw)
priv->hw_rev = cmd->hw_rev;
mwl8k_set_caps(hw, le32_to_cpu(cmd->caps));
priv->ap_macids_supported = 0x000000ff;
priv->sta_macids_supported = 0x00000000;
priv->sta_macids_supported = 0x00000100;
priv->num_ampdu_queues = le32_to_cpu(cmd->num_of_ampdu_queues);
if (priv->num_ampdu_queues > MWL8K_MAX_AMPDU_QUEUES) {
wiphy_warn(hw->wiphy, "fw reported %d ampdu queues"
Expand Down Expand Up @@ -4669,12 +4669,18 @@ static int mwl8k_add_interface(struct ieee80211_hw *hw,
break;
case NL80211_IFTYPE_STATION:
if (priv->ap_fw && di->fw_image_sta) {
/* we must load the sta fw to meet this request */
if (!list_empty(&priv->vif_list))
return -EBUSY;
rc = mwl8k_reload_firmware(hw, di->fw_image_sta);
if (rc)
return rc;
if (!list_empty(&priv->vif_list)) {
wiphy_warn(hw->wiphy, "AP interface is running.\n"
"Adding STA interface for WDS");
} else {
/* we must load the sta fw to
* meet this request.
*/
rc = mwl8k_reload_firmware(hw,
di->fw_image_sta);
if (rc)
return rc;
}
}
macids_supported = priv->sta_macids_supported;
break;
Expand Down

0 comments on commit baf3d1c

Please sign in to comment.