summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVidhya Govindan2009-06-12 13:16:45 +0200
committerJohn W. Linville2009-07-10 20:57:48 +0200
commitce650b5cde686a282aed860bb5cd7368e00eac07 (patch)
tree35d3839f03698f85e1bc2deb6b7ce5c9bef0c4d6 /drivers
parentwl12xx: enable ELP mode (diff)
downloadkernel-qcow2-linux-ce650b5cde686a282aed860bb5cd7368e00eac07.tar.gz
kernel-qcow2-linux-ce650b5cde686a282aed860bb5cd7368e00eac07.tar.xz
kernel-qcow2-linux-ce650b5cde686a282aed860bb5cd7368e00eac07.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/acx.c1
1 files changed, 1 insertions, 0 deletions
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) {