[PATCH 3/6] wcn36xx: Use allocated self sta index instead of hard coded
Pontus Fuchs
pontus.fuchs at gmail.com
Wed Feb 26 15:06:48 EST 2014
Signed-off-by: Pontus Fuchs <pontus.fuchs at gmail.com>
---
smd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smd.c b/smd.c
index 366d03d..d0f077e 100644
--- a/smd.c
+++ b/smd.c
@@ -146,7 +146,7 @@ static void wcn36xx_smd_set_sta_params(struct wcn36xx *wcn,
sta_params->sta_index = WCN36XX_HAL_STA_INVALID_IDX;
} else {
sta_params->type = 0;
- sta_params->sta_index = 1;
+ sta_params->sta_index = vif_priv->self_sta_index;
}
sta_params->listen_interval = WCN36XX_LISTEN_INTERVAL(wcn);
--
1.7.10.4
More information about the wcn36xx
mailing list