iwlegacy: propagate error return value
commit5c30c76ee616fffb47cbd9810bfd0a99ce4ddb38
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Fri, 3 Jun 2011 02:06:09 +0000 (2 21:06 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:16:34 +0000 (3 15:16 -0400)
tree12d6f9e10dbc01c31ff590609403e20c7ea2dc91
parent8e638188b2b84ef9bb9ccbb87b92dda9d0a77bcb
iwlegacy: propagate error return value

propogate the return value from iwl4965_get_tx_atten_grp instead
of implicitly returning -EINVAL in the error case.

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