Skip to content

Commit

Permalink
iwlwifi: mvm: rs: use the proper channel width define for legacy rate
Browse files Browse the repository at this point in the history
Use the 20Mhz channel width define instead of just the number
zero for legacy rates. Note that the define has the same value
so this is just a minor cleanup.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
  • Loading branch information
Eyal Shapira authored and Emmanuel Grumbach committed Dec 9, 2013
1 parent da87d7d commit a56db7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/mvm/rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ static u32 rs_get_lower_rate(struct iwl_lq_sta *lq_sta,
rate->ant =
first_antenna(iwl_fw_valid_tx_ant(mvm->fw));

rate->bw = 0;
rate->bw = RATE_MCS_CHAN_WIDTH_20;
rate->sgi = false;
}

Expand Down

0 comments on commit a56db7d

Please sign in to comment.