diff options
author | Janusz Dziedzic <janusz.dziedzic@tieto.com> | 2013-12-05 04:02:15 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-05 10:39:07 -0500 |
commit | d1e33e654ef6bb3dee766353ed9dd31e7dcb8a94 (patch) | |
tree | 7b5d1f16c019183dc4110782ae621e670b057c0c /net/mac80211/cfg.c | |
parent | b9243ab0c9e3e4dbd54ae8f44cf0cdb5838c8746 (diff) |
cfg80211: in bitrate_mask, rename mcs to ht_mcs
Rename NL80211_TXRATE_MCS to NL80211_TXRATE_HT and also
rename mcs to ht_mcs in struct cfg80211_bitrate_mask.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
[reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 754069cbb756..a74d61d520b0 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -2588,8 +2588,8 @@ static int ieee80211_set_bitrate_mask(struct wiphy *wiphy, | |||
2588 | int j; | 2588 | int j; |
2589 | 2589 | ||
2590 | sdata->rc_rateidx_mask[i] = mask->control[i].legacy; | 2590 | sdata->rc_rateidx_mask[i] = mask->control[i].legacy; |
2591 | memcpy(sdata->rc_rateidx_mcs_mask[i], mask->control[i].mcs, | 2591 | memcpy(sdata->rc_rateidx_mcs_mask[i], mask->control[i].ht_mcs, |
2592 | sizeof(mask->control[i].mcs)); | 2592 | sizeof(mask->control[i].ht_mcs)); |
2593 | 2593 | ||
2594 | sdata->rc_has_mcs_mask[i] = false; | 2594 | sdata->rc_has_mcs_mask[i] = false; |
2595 | if (!sband) | 2595 | if (!sband) |