wl12xx: change type from u8 to int
Subsystems (2)
PATCH 1/1 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 Dan Carpenter <[email protected]>
drivers/net/wireless/wl12xx/init.c +1 -1
@@ -470,7 +470,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 ;
Luciano Coelho
AppliedQuoted 4 lines · Dan Carpenter
ret is used to store int types. Using an u8 will break the error handling.
Signed-off-by Dan Carpenter <[email protected]>
Applied, thanks Dan!
Signature · 2 lines
Cheers, Luca.