mirror of https://gitee.com/openkylin/linux.git
wl12xx: Assign value to rx msdu lifetime variable
The patch "wl12xx: cmd and acx interface rework" failed to assign MSDU lifetime value in wl12xx_acx_rx_msdu_life_time() and breaks the functionality. This patch fixes the regression by assigning the correct value. Signed-off-by: Vidhya Govindan <vidhya.govindan@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0182f8d56c
commit
ce650b5cde
|
@ -317,6 +317,7 @@ int wl12xx_acx_rx_msdu_life_time(struct wl12xx *wl, u32 life_time)
|
|||
goto out;
|
||||
}
|
||||
|
||||
acx->lifetime = life_time;
|
||||
ret = wl12xx_cmd_configure(wl, DOT11_RX_MSDU_LIFE_TIME,
|
||||
acx, sizeof(*acx));
|
||||
if (ret < 0) {
|
||||
|
|
Loading…
Reference in New Issue