Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5965955 authored by Winkler, Tomas's avatar Winkler, Tomas Committed by John W. Linville
Browse files

iwl3945: kill hw_params.tx_ant_num



This patch removes tx_ant_num for hw_params structure. It is not used.

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent fa77533e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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.max_stations = IWL3945_STATION_COUNT;
	priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID;
	priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID;


	priv->hw_params.tx_ant_num = 2;
	return 0;
	return 0;
}
}


+0 −3
Original line number Original line Diff line number Diff line
@@ -595,9 +595,6 @@ struct iwl_hw_params {
	u32 ct_kill_threshold; /* value in hw-dependent units */
	u32 ct_kill_threshold; /* value in hw-dependent units */
	u32 calib_init_cfg;
	u32 calib_init_cfg;
	const struct iwl_sensitivity_ranges *sens;
	const struct iwl_sensitivity_ranges *sens;

	/* for 3945 */
	u16 tx_ant_num;
};
};