aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-08-11 17:49:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-18 11:05:13 -0400
commit6f14792610905fe006c0c3c4d9e1478fb6be7cec (patch)
tree4f09f466a3a7efacc0f97ec3d5505924cf0051d0 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parentfcd7cc1496681f7241ef8b80f32bb35d72a4e78b (diff)
iwlwifi: fix printk newlines
Add newlines at printk outputs to not break dmesg. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Zhu Yi <yi.zhu@intel.com> Cc: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 444847ab1b5..348048a4b6c 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -1558,7 +1558,7 @@ int iwl3945_eeprom_init(struct iwl3945_priv *priv)
1558 BUILD_BUG_ON(sizeof(priv->eeprom) != IWL_EEPROM_IMAGE_SIZE); 1558 BUILD_BUG_ON(sizeof(priv->eeprom) != IWL_EEPROM_IMAGE_SIZE);
1559 1559
1560 if ((gp & CSR_EEPROM_GP_VALID_MSK) == CSR_EEPROM_GP_BAD_SIGNATURE) { 1560 if ((gp & CSR_EEPROM_GP_VALID_MSK) == CSR_EEPROM_GP_BAD_SIGNATURE) {
1561 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x", gp); 1561 IWL_ERROR("EEPROM not found, EEPROM_GP=0x%08x\n", gp);
1562 return -ENOENT; 1562 return -ENOENT;
1563 } 1563 }
1564 1564
@@ -1583,7 +1583,7 @@ int iwl3945_eeprom_init(struct iwl3945_priv *priv)
1583 } 1583 }
1584 1584
1585 if (!(r & CSR_EEPROM_REG_READ_VALID_MSK)) { 1585 if (!(r & CSR_EEPROM_REG_READ_VALID_MSK)) {
1586 IWL_ERROR("Time out reading EEPROM[%d]", addr); 1586 IWL_ERROR("Time out reading EEPROM[%d]\n", addr);
1587 return -ETIMEDOUT; 1587 return -ETIMEDOUT;
1588 } 1588 }
1589 e[addr / 2] = le16_to_cpu((__force __le16)(r >> 16)); 1589 e[addr / 2] = le16_to_cpu((__force __le16)(r >> 16));
@@ -2507,7 +2507,7 @@ static int iwl3945_get_sta_id(struct iwl3945_priv *priv, struct ieee80211_hdr *h
2507 return priv->hw_setting.bcast_sta_id; 2507 return priv->hw_setting.bcast_sta_id;
2508 2508
2509 default: 2509 default:
2510 IWL_WARNING("Unknown mode of operation: %d", priv->iw_mode); 2510 IWL_WARNING("Unknown mode of operation: %d\n", priv->iw_mode);
2511 return priv->hw_setting.bcast_sta_id; 2511 return priv->hw_setting.bcast_sta_id;
2512 } 2512 }
2513} 2513}