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>
This commit is contained in:
Alan Cox 2012-10-25 15:56:18 +01:00 committed by Jiri Kosina
parent b010520ab3
commit 01872c641f

View File

@ -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;
}