Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369649
b: refs/heads/master
c: c43933e
h: refs/heads/master
i:
  369647: ada978b
v: v3
  • Loading branch information
Bing Zhao authored and John W. Linville committed Apr 22, 2013
1 parent e2ac9eb commit af895c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 30 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: d837a2ae40fd37bcbb5a42126e3d89c68c90fccc
refs/heads/master: c43933e61ea9b630521bf0d5cf06c155478308a7
29 changes: 0 additions & 29 deletions trunk/drivers/net/wireless/mwifiex/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,36 +1500,7 @@ static int mwifiex_update_curr_bss_params(struct mwifiex_private *priv,
if (ret)
goto done;

/* Update current bss descriptor parameters */
spin_lock_irqsave(&priv->curr_bcn_buf_lock, flags);
priv->curr_bss_params.bss_descriptor.bcn_wpa_ie = NULL;
priv->curr_bss_params.bss_descriptor.wpa_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_rsn_ie = NULL;
priv->curr_bss_params.bss_descriptor.rsn_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_wapi_ie = NULL;
priv->curr_bss_params.bss_descriptor.wapi_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_ht_cap = NULL;
priv->curr_bss_params.bss_descriptor.ht_cap_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_ht_oper = NULL;
priv->curr_bss_params.bss_descriptor.ht_info_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_bss_co_2040 = NULL;
priv->curr_bss_params.bss_descriptor.bss_co_2040_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_ext_cap = NULL;
priv->curr_bss_params.bss_descriptor.ext_cap_offset = 0;
priv->curr_bss_params.bss_descriptor.beacon_buf = NULL;
priv->curr_bss_params.bss_descriptor.beacon_buf_size = 0;
priv->curr_bss_params.bss_descriptor.bcn_vht_cap = NULL;
priv->curr_bss_params.bss_descriptor.vht_cap_offset = 0;
priv->curr_bss_params.bss_descriptor.bcn_vht_oper = NULL;
priv->curr_bss_params.bss_descriptor.vht_info_offset = 0;
priv->curr_bss_params.bss_descriptor.oper_mode = NULL;
priv->curr_bss_params.bss_descriptor.oper_mode_offset = 0;

/* Disable 11ac by default. Enable it only where there
* exist VHT_CAP IE in AP beacon
*/
priv->curr_bss_params.bss_descriptor.disable_11ac = true;

/* Make a copy of current BSSID descriptor */
memcpy(&priv->curr_bss_params.bss_descriptor, bss_desc,
sizeof(priv->curr_bss_params.bss_descriptor));
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/mwifiex/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ int mwifiex_fill_new_bss_desc(struct mwifiex_private *priv,
else
bss_desc->bss_mode = NL80211_IFTYPE_STATION;

/* Disable 11ac by default. Enable it only where there
* exist VHT_CAP IE in AP beacon
*/
bss_desc->disable_11ac = true;

return mwifiex_update_bss_desc_with_ie(priv->adapter, bss_desc);
}

Expand Down

0 comments on commit af895c9

Please sign in to comment.