Skip to content

Commit

Permalink
i2400m: debugfs return code is wrong
Browse files Browse the repository at this point in the history
Missing a break

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
Alan Cox authored and Jiri Kosina committed Oct 25, 2012
1 parent b010520 commit 01872c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wimax/i2400m/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 01872c6

Please sign in to comment.