mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
wcn36xx: Use allocated self sta index instead of hard coded
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
df98c3294b
commit
6d9cf123cd
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue