|
@@ -77,8 +77,6 @@ int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth)
|
|
auth->sleep_auth = sleep_auth;
|
|
auth->sleep_auth = sleep_auth;
|
|
|
|
|
|
ret = wl1271_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth));
|
|
ret = wl1271_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth));
|
|
- if (ret < 0)
|
|
|
|
- return ret;
|
|
|
|
|
|
|
|
out:
|
|
out:
|
|
kfree(auth);
|
|
kfree(auth);
|
|
@@ -624,10 +622,8 @@ int wl1271_acx_cca_threshold(struct wl1271 *wl)
|
|
|
|
|
|
ret = wl1271_cmd_configure(wl, ACX_CCA_THRESHOLD,
|
|
ret = wl1271_cmd_configure(wl, ACX_CCA_THRESHOLD,
|
|
detection, sizeof(*detection));
|
|
detection, sizeof(*detection));
|
|
- if (ret < 0) {
|
|
|
|
|
|
+ if (ret < 0)
|
|
wl1271_warning("failed to set cca threshold: %d", ret);
|
|
wl1271_warning("failed to set cca threshold: %d", ret);
|
|
- return ret;
|
|
|
|
- }
|
|
|
|
|
|
|
|
out:
|
|
out:
|
|
kfree(detection);
|
|
kfree(detection);
|