summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_sysfs.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-02-28 10:55:36 +0100
committerMarek Lindner <lindner_marek@yahoo.de>2012-02-28 19:14:31 +0800
commit7c64fd98ce512de6c6dae0452dc026446bd368d5 (patch)
tree81b5a3df9c7937f1d85cc9f32841fe9b949ca0bb /net/batman-adv/bat_sysfs.c
parentfdc8ff101163f10d36187a890a3c4990cebb8b12 (diff)
downloadop-kernel-dev-7c64fd98ce512de6c6dae0452dc026446bd368d5.zip
op-kernel-dev-7c64fd98ce512de6c6dae0452dc026446bd368d5.tar.gz
batman-adv: Fix indentation of multiline statements
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/bat_sysfs.c')
-rw-r--r--net/batman-adv/bat_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bat_sysfs.c b/net/batman-adv/bat_sysfs.c
index 7317729..b00101d 100644
--- a/net/batman-adv/bat_sysfs.c
+++ b/net/batman-adv/bat_sysfs.c
@@ -321,11 +321,11 @@ static ssize_t store_gw_mode(struct kobject *kobj, struct attribute *attr,
gw_mode_tmp = GW_MODE_OFF;
if (strncmp(buff, GW_MODE_CLIENT_NAME,
- strlen(GW_MODE_CLIENT_NAME)) == 0)
+ strlen(GW_MODE_CLIENT_NAME)) == 0)
gw_mode_tmp = GW_MODE_CLIENT;
if (strncmp(buff, GW_MODE_SERVER_NAME,
- strlen(GW_MODE_SERVER_NAME)) == 0)
+ strlen(GW_MODE_SERVER_NAME)) == 0)
gw_mode_tmp = GW_MODE_SERVER;
if (gw_mode_tmp < 0) {
OpenPOWER on IntegriCloud