From: Vidhya Govindan Date: Fri, 12 Jun 2009 11:16:45 +0000 (+0300) Subject: wl12xx: Assign value to rx msdu lifetime variable X-Git-Tag: v2.6.32-rc1~703^2~789 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce650b5cde686a282aed860bb5cd7368e00eac07;p=karo-tx-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 Signed-off-by: Luciano Coelho Signed-off-by: Kalle Valo Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/wl12xx/acx.c b/drivers/net/wireless/wl12xx/acx.c index 8227d6db08c9..328f88a67563 100644 --- a/drivers/net/wireless/wl12xx/acx.c +++ b/drivers/net/wireless/wl12xx/acx.c @@ -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) {