iwl3945: use iwl_led structure
3945 can now use iwl_led's structure from iwlwifi. Patch also removes CONFIG_IWL3945_LEDS flag from Kconfig as 3945's led support will now be enabled if user selects CONFIG_IWLWIFI_LEDS. Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
fa11d525ef
commit
5c8df2d56a
@@ -890,7 +890,7 @@ static void iwl3945_build_tx_cmd_basic(struct iwl_priv *priv,
|
||||
tx->timeout.pm_frame_timeout = cpu_to_le16(2);
|
||||
} else {
|
||||
tx->timeout.pm_frame_timeout = 0;
|
||||
#ifdef CONFIG_IWL3945_LEDS
|
||||
#ifdef CONFIG_IWLWIFI_LEDS
|
||||
priv->rxtxpackets += le16_to_cpu(cmd->cmd.tx.len);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user