iwlwifi: fix up command sending
[pandora-kernel.git] / drivers / net / wireless / iwlwifi / iwl-calib.c
index f8bf592..13180d6 100644 (file)
@@ -86,7 +86,7 @@ int iwl_send_calib_results(struct iwl_priv *priv)
 
        struct iwl_host_cmd hcmd = {
                .id = REPLY_PHY_CALIBRATION_CMD,
-               .meta.flags = CMD_SIZE_HUGE,
+               .flags = CMD_SIZE_HUGE,
        };
 
        for (i = 0; i < IWL_CALIB_MAX; i++) {
@@ -419,7 +419,7 @@ static int iwl_sensitivity_write(struct iwl_priv *priv)
        struct iwl_host_cmd cmd_out = {
                .id = SENSITIVITY_CMD,
                .len = sizeof(struct iwl_sensitivity_cmd),
-               .meta.flags = CMD_ASYNC,
+               .flags = CMD_ASYNC,
                .data = &cmd,
        };