aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>2008-11-12 16:14:08 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-25 16:41:18 -0500
commitc3056065400aeb437390e1a86b85f9c32fb1c1df (patch)
tree69e7cf607f351040bc52ce77415e7b6096a3d858 /drivers/net/wireless/iwlwifi/iwl-agn.c
parentdbce56a456f6d6302a77107088340828dcaf9a02 (diff)
iwlwifi : fix checkpatch.pl errors
Patch fixes checkpatch.pl errors for iwlwifi. 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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index ab599a962874..e971a893eec8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1492,7 +1492,7 @@ static void iwl_irq_tasklet(struct iwl_priv *priv)
1492 hw_rf_kill = 1; 1492 hw_rf_kill = 1;
1493 1493
1494 IWL_DEBUG(IWL_DL_RF_KILL, "RF_KILL bit toggled to %s.\n", 1494 IWL_DEBUG(IWL_DL_RF_KILL, "RF_KILL bit toggled to %s.\n",
1495 hw_rf_kill ? "disable radio":"enable radio"); 1495 hw_rf_kill ? "disable radio" : "enable radio");
1496 1496
1497 /* driver only loads ucode once setting the interface up. 1497 /* driver only loads ucode once setting the interface up.
1498 * the driver as well won't allow loading if RFKILL is set 1498 * the driver as well won't allow loading if RFKILL is set
@@ -3657,7 +3657,8 @@ static ssize_t show_power_level(struct device *d,
3657 break; 3657 break;
3658 } 3658 }
3659 3659
3660 p += sprintf(p, "\tMODE:%s", (mode < IWL_POWER_AUTO)?"fixed":"auto"); 3660 p += sprintf(p, "\tMODE:%s", (mode < IWL_POWER_AUTO) ?
3661 "fixed" : "auto");
3661 p += sprintf(p, "\tINDEX:%d", level); 3662 p += sprintf(p, "\tINDEX:%d", level);
3662 p += sprintf(p, "\n"); 3663 p += sprintf(p, "\n");
3663 return p - buf + 1; 3664 return p - buf + 1;