mirror of https://gitee.com/openkylin/linux.git
iwl3945: kill hw_params.tx_ant_num
This patch removes tx_ant_num for hw_params structure. It is not used. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
fa77533e2e
commit
f5965955e0
|
@ -2492,7 +2492,6 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv)
|
|||
priv->hw_params.max_stations = IWL3945_STATION_COUNT;
|
||||
priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID;
|
||||
|
||||
priv->hw_params.tx_ant_num = 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -595,9 +595,6 @@ struct iwl_hw_params {
|
|||
u32 ct_kill_threshold; /* value in hw-dependent units */
|
||||
u32 calib_init_cfg;
|
||||
const struct iwl_sensitivity_ranges *sens;
|
||||
|
||||
/* for 3945 */
|
||||
u16 tx_ant_num;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue