[PATCH 2/4] wcn36xx: fix typo error
Eugene Krasnikov
k.eugene.e at gmail.com
Tue Feb 11 14:37:36 EST 2014
From: Chun-Yeow Yeoh <yeohchunyeow at gmail.com>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow at gmail.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
---
hal.h | 2 +-
smd.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hal.h b/hal.h
index c5e7473..9df8e1d 100644
--- a/hal.h
+++ b/hal.h
@@ -2645,7 +2645,7 @@ struct wcn36xx_hal_trigger_ba_rsp_candidate {
struct add_ba_info ba_info[STACFG_MAX_TC];
} __packed;
-struct wcn36xx_hal_trigget_ba_req_candidate {
+struct wcn36xx_hal_trigger_ba_req_candidate {
u8 sta_index;
u8 tid_bitmap;
} __packed;
diff --git a/smd.c b/smd.c
index 7811bf3..e78667f 100644
--- a/smd.c
+++ b/smd.c
@@ -1866,7 +1866,7 @@ out:
int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
{
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;
mutex_lock(&wcn->hal_mutex);
@@ -1877,7 +1877,7 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
msg_body.header.len += sizeof(*candidate);
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));
candidate->sta_index = sta_index;
candidate->tid_bitmap = 1;
--
1.8.3.2
More information about the wcn36xx
mailing list