diff options
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_acx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_cmd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_acx.c b/drivers/net/wireless/wl12xx/wl1251_acx.c index 91891f92807..2f8a2ba744d 100644 --- a/drivers/net/wireless/wl12xx/wl1251_acx.c +++ b/drivers/net/wireless/wl12xx/wl1251_acx.c | |||
@@ -380,7 +380,7 @@ int wl1251_acx_pd_threshold(struct wl1251 *wl) | |||
380 | 380 | ||
381 | out: | 381 | out: |
382 | kfree(pd); | 382 | kfree(pd); |
383 | return 0; | 383 | return ret; |
384 | } | 384 | } |
385 | 385 | ||
386 | int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time) | 386 | int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time) |
diff --git a/drivers/net/wireless/wl12xx/wl1251_cmd.c b/drivers/net/wireless/wl12xx/wl1251_cmd.c index ce3722f4c3e..15fb68c6b54 100644 --- a/drivers/net/wireless/wl12xx/wl1251_cmd.c +++ b/drivers/net/wireless/wl12xx/wl1251_cmd.c | |||
@@ -200,7 +200,7 @@ int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity, | |||
200 | 200 | ||
201 | out: | 201 | out: |
202 | kfree(vbm); | 202 | kfree(vbm); |
203 | return 0; | 203 | return ret; |
204 | } | 204 | } |
205 | 205 | ||
206 | int wl1251_cmd_data_path(struct wl1251 *wl, u8 channel, bool enable) | 206 | int wl1251_cmd_data_path(struct wl1251 *wl, u8 channel, bool enable) |