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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;