Commit cddc6046 authored by Chun-Yeow Yeoh's avatar Chun-Yeow Yeoh Committed by John W. Linville

wcn36xx: fix typo error

Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f699273d
...@@ -2644,7 +2644,7 @@ struct wcn36xx_hal_trigger_ba_rsp_candidate { ...@@ -2644,7 +2644,7 @@ struct wcn36xx_hal_trigger_ba_rsp_candidate {
struct add_ba_info ba_info[STACFG_MAX_TC]; struct add_ba_info ba_info[STACFG_MAX_TC];
} __packed; } __packed;
struct wcn36xx_hal_trigget_ba_req_candidate { struct wcn36xx_hal_trigger_ba_req_candidate {
u8 sta_index; u8 sta_index;
u8 tid_bitmap; u8 tid_bitmap;
} __packed; } __packed;
......
...@@ -1855,7 +1855,7 @@ int wcn36xx_smd_del_ba(struct wcn36xx *wcn, u16 tid, u8 sta_index) ...@@ -1855,7 +1855,7 @@ int wcn36xx_smd_del_ba(struct wcn36xx *wcn, u16 tid, u8 sta_index)
int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index) int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
{ {
struct wcn36xx_hal_trigger_ba_req_msg msg_body; struct wcn36xx_hal_trigger_ba_req_msg msg_body;
struct wcn36xx_hal_trigget_ba_req_candidate *candidate; struct wcn36xx_hal_trigger_ba_req_candidate *candidate;
int ret = 0; int ret = 0;
mutex_lock(&wcn->hal_mutex); mutex_lock(&wcn->hal_mutex);
...@@ -1866,7 +1866,7 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index) ...@@ -1866,7 +1866,7 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
msg_body.header.len += sizeof(*candidate); msg_body.header.len += sizeof(*candidate);
PREPARE_HAL_BUF(wcn->hal_buf, msg_body); PREPARE_HAL_BUF(wcn->hal_buf, msg_body);
candidate = (struct wcn36xx_hal_trigget_ba_req_candidate *) candidate = (struct wcn36xx_hal_trigger_ba_req_candidate *)
(wcn->hal_buf + sizeof(msg_body)); (wcn->hal_buf + sizeof(msg_body));
candidate->sta_index = sta_index; candidate->sta_index = sta_index;
candidate->tid_bitmap = 1; candidate->tid_bitmap = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment