Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195231
b: refs/heads/master
c: 63d4176
h: refs/heads/master
i:
  195229: eabe50f
  195227: 104f3e6
  195223: d9df2b0
  195215: 344abc5
  195199: bf46c74
v: v3
  • Loading branch information
Johannes Berg authored and Reinette Chatre committed May 10, 2010
1 parent 3883058 commit 5da5a62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 57f8db89340f6ba5d913a1950b8dad4431d2beda
refs/heads/master: 63d4176933a5c4d9387eb79e1d50a9232e58c06e
10 changes: 6 additions & 4 deletions trunk/drivers/net/wireless/iwlwifi/iwl-sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,12 @@ static u8 iwl_prep_station(struct iwl_priv *priv, const u8 *addr,
station->sta.sta.sta_id = sta_id;
station->sta.station_flags = 0;

/* BCAST station and IBSS stations do not work in HT mode */
if (sta_id != priv->hw_params.bcast_sta_id &&
priv->iw_mode != NL80211_IFTYPE_ADHOC)
iwl_set_ht_add_station(priv, sta_id, ht_info);
/*
* OK to call unconditionally, since local stations (IBSS BSSID
* STA and broadcast STA) pass in a NULL ht_info, and mac80211
* doesn't allow HT IBSS.
*/
iwl_set_ht_add_station(priv, sta_id, ht_info);

/* 3945 only */
rate = (priv->band == IEEE80211_BAND_5GHZ) ?
Expand Down

0 comments on commit 5da5a62

Please sign in to comment.