Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172198
b: refs/heads/master
c: 4a90406
h: refs/heads/master
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Nov 28, 2009
1 parent 5a1130c commit af8fd87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98b5dd5ded8cb59b598b2c0c396100054779eda7
refs/heads/master: 4a90406b876cade9bb8d9c95b048d60fb979ba6b
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/wl12xx/wl1271_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,12 @@ int wl1271_hw_init(struct wl1271 *wl)
{
int ret;

/* FIXME: the following parameter setting functions return error
* codes - the reason is so far unknown. The -EIO is therefore
* ignored for the time being. */
ret = wl1271_cmd_general_parms(wl);
if (ret < 0 && ret != -EIO)
if (ret < 0)
return ret;

ret = wl1271_cmd_radio_parms(wl);
if (ret < 0 && ret != -EIO)
if (ret < 0)
return ret;

/* Template settings */
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,15 +354,12 @@ static int wl1271_plt_init(struct wl1271 *wl)
{
int ret;

/* FIXME: the following parameter setting functions return error
* codes - the reason is so far unknown. The -EIO is therefore
* ignored for the time being. */
ret = wl1271_cmd_general_parms(wl);
if (ret < 0 && ret != -EIO)
if (ret < 0)
return ret;

ret = wl1271_cmd_radio_parms(wl);
if (ret < 0 && ret != -EIO)
if (ret < 0)
return ret;

ret = wl1271_acx_init_mem_config(wl);
Expand Down

0 comments on commit af8fd87

Please sign in to comment.