Commit 03c5a9cf authored by Dan Carpenter's avatar Dan Carpenter Committed by Luciano Coelho

wl12xx: change type from u8 to int

ret is used to store int types.  Using an u8 will break the error
handling.
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 320d6c1b
......@@ -483,7 +483,7 @@ static void wl1271_check_ba_support(struct wl1271 *wl)
static int wl1271_set_ba_policies(struct wl1271 *wl)
{
u8 tid_index;
u8 ret = 0;
int ret = 0;
/* Reset the BA RX indicators */
wl->ba_rx_bitmap = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment