wl12xx: Assign value to rx msdu lifetime variable
authorVidhya Govindan <vidhya.govindan@nokia.com>
Fri, 12 Jun 2009 11:16:45 +0000 (14:16 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:48 +0000 (14:57 -0400)
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>
drivers/net/wireless/wl12xx/acx.c

index 8227d6db08c9bc30ce83ebb0a2d3f5206e9adb5a..328f88a67563efdfef4b3792f9d3479a2ec9c332 100644 (file)
@@ -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) {