aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKolekar, Abhijeet <abhijeet.kolekar@intel.com>2008-11-07 12:58:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:07:23 -0500
commite720ce9d15050d06e5162d5f70b133caccd64258 (patch)
tree9c30a23645ca88a9da4360bf043125d7728b704d
parent21c339bf51ad46c6f8143df907b4bcce99dbe0b8 (diff)
iwl3945 : Fix Sparse Warnings
Patch fixes sparse warnings. No need to convert u8 variable to 32. 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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 0f992d0f69ad..dc4c48983bcf 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -4741,7 +4741,7 @@ static void iwl3945_free_channel_map(struct iwl3945_priv *priv)
4741#define IWL_PASSIVE_DWELL_BASE (100) 4741#define IWL_PASSIVE_DWELL_BASE (100)
4742#define IWL_CHANNEL_TUNE_TIME 5 4742#define IWL_CHANNEL_TUNE_TIME 5
4743 4743
4744#define IWL_SCAN_PROBE_MASK(n) cpu_to_le32((BIT(n) | (BIT(n) - BIT(1)))) 4744#define IWL_SCAN_PROBE_MASK(n) (BIT(n) | (BIT(n) - BIT(1)))
4745 4745
4746static inline u16 iwl3945_get_active_dwell_time(struct iwl3945_priv *priv, 4746static inline u16 iwl3945_get_active_dwell_time(struct iwl3945_priv *priv,
4747 enum ieee80211_band band, 4747 enum ieee80211_band band,