summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-07 19:47:42 +0300
committerLuciano Coelho <coelho@ti.com>2011-02-22 18:06:35 +0200
commit03c5a9cf49999ca3431eb9199c9bb831b0020be2 (patch)
tree169adb104d8329fcd7ac091750db1df54a158935 /drivers/net/wireless/wl12xx
parent320d6c1b56de5f461c6062625b9664095f90ee95 (diff)
downloadblackbird-op-linux-03c5a9cf49999ca3431eb9199c9bb831b0020be2.tar.gz
blackbird-op-linux-03c5a9cf49999ca3431eb9199c9bb831b0020be2.zip
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 <error27@gmail.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c
index 62dc9839dd31..6072fe457135 100644
--- a/drivers/net/wireless/wl12xx/init.c
+++ b/drivers/net/wireless/wl12xx/init.c
@@ -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;
OpenPOWER on IntegriCloud