提交 03c5a9cf 编写于 作者: D Dan Carpenter 提交者: 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: NDan Carpenter <error27@gmail.com>
Signed-off-by: NLuciano Coelho <coelho@ti.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册