提交 b96ed60c 编写于 作者: S Stanislaw Gruszka 提交者: John W. Linville

iwlegacy: get rid of qos_cmd

Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 5e349f02
...@@ -3619,7 +3619,6 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -3619,7 +3619,6 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
il->ctx.ctxid = 0; il->ctx.ctxid = 0;
il->ctx.qos_cmd = C_QOS_PARAM;
il->ctx.ap_sta_id = IL_AP_ID; il->ctx.ap_sta_id = IL_AP_ID;
il->ctx.wep_key_cmd = C_WEPKEY; il->ctx.wep_key_cmd = C_WEPKEY;
il->ctx.interface_modes = il->ctx.interface_modes =
......
...@@ -6135,7 +6135,6 @@ il4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -6135,7 +6135,6 @@ il4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
il->ctx.always_active = true; il->ctx.always_active = true;
il->ctx.is_active = true; il->ctx.is_active = true;
il->ctx.qos_cmd = C_QOS_PARAM;
il->ctx.ap_sta_id = IL_AP_ID; il->ctx.ap_sta_id = IL_AP_ID;
il->ctx.wep_key_cmd = C_WEPKEY; il->ctx.wep_key_cmd = C_WEPKEY;
il->ctx.ac_to_fifo = il4965_bss_ac_to_fifo; il->ctx.ac_to_fifo = il4965_bss_ac_to_fifo;
......
...@@ -5269,7 +5269,7 @@ il_update_qos(struct il_priv *il, struct il_rxon_context *ctx) ...@@ -5269,7 +5269,7 @@ il_update_qos(struct il_priv *il, struct il_rxon_context *ctx)
D_QOS("send QoS cmd with Qos active=%d FLAGS=0x%X\n", D_QOS("send QoS cmd with Qos active=%d FLAGS=0x%X\n",
ctx->qos_data.qos_active, ctx->qos_data.def_qos_parm.qos_flags); ctx->qos_data.qos_active, ctx->qos_data.def_qos_parm.qos_flags);
il_send_cmd_pdu_async(il, ctx->qos_cmd, sizeof(struct il_qosparam_cmd), il_send_cmd_pdu_async(il, C_QOS_PARAM, sizeof(struct il_qosparam_cmd),
&ctx->qos_data.def_qos_parm, NULL); &ctx->qos_data.def_qos_parm, NULL);
} }
......
...@@ -1175,7 +1175,6 @@ struct il_rxon_context { ...@@ -1175,7 +1175,6 @@ struct il_rxon_context {
u8 bcast_sta_id, ap_sta_id; u8 bcast_sta_id, ap_sta_id;
u8 qos_cmd;
u8 wep_key_cmd; u8 wep_key_cmd;
struct il_wep_key wep_keys[WEP_KEYS_MAX]; struct il_wep_key wep_keys[WEP_KEYS_MAX];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册