iwlegacy: return -EINVAL instead of -1
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Fri, 3 Jun 2011 02:06:08 +0000 (21:06 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:16:34 +0000 (15:16 -0400)
commit8e638188b2b84ef9bb9ccbb87b92dda9d0a77bcb
tree56e068f5b9cd76b94a3cee7cb2a1c4f36f772173
parent04975f3fc390974059ad06ac4162db7a6668a18d
iwlegacy: return -EINVAL instead of -1

Cleanup the code to return -EINVAL instead of -1
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-4965.c