wireless: at76c50x: signedness bug in at76_dfu_get_state()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 Aug 2012 06:57:30 +0000 (09:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Aug 2012 18:50:26 +0000 (14:50 -0400)
commit5d774b74ef7d0428a3e45c9bb5b3a0915d2240cb
tree4cd95db54931154ab55ac10f14924eab29386f0c
parent60f53cf99060472973f16452116d9c467f8b08c6
wireless: at76c50x: signedness bug in at76_dfu_get_state()

This return holds the number of bytes transfered (1 byte) or a negative
error code.  The type should be int instead of u8.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c