|
@@ -2306,15 +2306,16 @@ out:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-int qtnf_cmd_send_chan_switch(struct qtnf_wmac *mac,
|
|
|
+int qtnf_cmd_send_chan_switch(struct qtnf_vif *vif,
|
|
|
struct cfg80211_csa_settings *params)
|
|
|
{
|
|
|
+ struct qtnf_wmac *mac = vif->mac;
|
|
|
struct qlink_cmd_chan_switch *cmd;
|
|
|
struct sk_buff *cmd_skb;
|
|
|
u16 res_code = QLINK_CMD_RESULT_OK;
|
|
|
int ret;
|
|
|
|
|
|
- cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, 0x0,
|
|
|
+ cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, vif->vifid,
|
|
|
QLINK_CMD_CHAN_SWITCH,
|
|
|
sizeof(*cmd));
|
|
|
|