|
@@ -1326,9 +1326,8 @@ int lbs_set_radio_control(struct lbs_private *priv)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-int lbs_set_mac_control(struct lbs_private *priv)
|
|
|
+void lbs_set_mac_control(struct lbs_private *priv)
|
|
|
{
|
|
|
- int ret = 0;
|
|
|
struct cmd_ds_mac_control cmd;
|
|
|
|
|
|
lbs_deb_enter(LBS_DEB_CMD);
|
|
@@ -1337,10 +1336,10 @@ int lbs_set_mac_control(struct lbs_private *priv)
|
|
|
cmd.action = cpu_to_le16(priv->mac_control);
|
|
|
cmd.reserved = 0;
|
|
|
|
|
|
- ret = lbs_cmd_with_response(priv, CMD_MAC_CONTROL, &cmd);
|
|
|
+ lbs_cmd_async(priv, CMD_MAC_CONTROL,
|
|
|
+ &cmd.hdr, sizeof(cmd));
|
|
|
|
|
|
- lbs_deb_leave_args(LBS_DEB_CMD, "ret %d", ret);
|
|
|
- return ret;
|
|
|
+ lbs_deb_leave(LBS_DEB_CMD);
|
|
|
}
|
|
|
|
|
|
/**
|