aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-10-25 15:56:18 +0100
committerJiri Kosina <jkosina@suse.cz>2012-10-25 18:01:38 +0200
commit01872c641f8bb25b6d70328177c8fb08e0dd6d0b (patch)
tree6335978f237597615b1c98c77fccd5cfe7be64b8
parentb010520ab3d2c05eb444ed5e01fe6c33842f597a (diff)
downloadlinux-stericsson-01872c641f8bb25b6d70328177c8fb08e0dd6d0b.tar.gz
i2400m: debugfs return code is wrong
Missing a break Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/net/wimax/i2400m/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/debugfs.c b/drivers/net/wimax/i2400m/debugfs.c
index 4b66ab1d0e5c..6702da838b0e 100644
--- a/drivers/net/wimax/i2400m/debugfs.c
+++ b/drivers/net/wimax/i2400m/debugfs.c
@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
result = i2400m_reset(i2400m, rt);
if (result >= 0)
result = 0;
+ break;
default:
result = -EINVAL;
}