diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-15 03:52:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-15 03:52:37 -0400 |
commit | f42a44494bcdf03fc851c03d438464d59c0ceaf5 (patch) | |
tree | 986ea7b54e9fc79a64863fd7e92eabd99ffd37a3 /drivers/net/wireless/libertas/main.c | |
parent | 63fe46da9c380b3f2bbdf3765044649517cc717c (diff) | |
parent | ef85ad541f9a6ccd3f89ec73f92b2d6f45a9d3e8 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 0be89573716c..e333f14dce23 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -927,20 +927,10 @@ static int lbs_setup_firmware(struct lbs_private *priv) | |||
927 | */ | 927 | */ |
928 | memset(priv->current_addr, 0xff, ETH_ALEN); | 928 | memset(priv->current_addr, 0xff, ETH_ALEN); |
929 | ret = lbs_update_hw_spec(priv); | 929 | ret = lbs_update_hw_spec(priv); |
930 | if (ret) { | 930 | if (ret) |
931 | ret = -1; | ||
932 | goto done; | 931 | goto done; |
933 | } | ||
934 | 932 | ||
935 | lbs_set_mac_control(priv); | 933 | lbs_set_mac_control(priv); |
936 | |||
937 | ret = lbs_get_data_rate(priv); | ||
938 | if (ret < 0) { | ||
939 | ret = -1; | ||
940 | goto done; | ||
941 | } | ||
942 | |||
943 | ret = 0; | ||
944 | done: | 934 | done: |
945 | lbs_deb_leave_args(LBS_DEB_FW, "ret %d", ret); | 935 | lbs_deb_leave_args(LBS_DEB_FW, "ret %d", ret); |
946 | return ret; | 936 | return ret; |