lkml.org 
[lkml]   [2011]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[239/244] rtlwifi: rtl8192cu: Fix unitialized struct
    3.0-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Larry Finger <Larry.Finger@lwfinger.net>

    commit 831d85471e761e190c3c8979b37540d699ae5812 upstream.

    Driver rtl8192cu assigns a new struct rtl_tcb_desc object, but fails to
    clear it.

    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/wireless/rtlwifi/usb.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/net/wireless/rtlwifi/usb.c
    +++ b/drivers/net/wireless/rtlwifi/usb.c
    @@ -861,6 +861,7 @@ static void _rtl_usb_tx_preprocess(struc
    u8 tid = 0;
    u16 seq_number = 0;

    + memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc));
    if (ieee80211_is_auth(fc)) {
    RT_TRACE(rtlpriv, COMP_SEND, DBG_DMESG, ("MAC80211_LINKING\n"));
    rtl_ips_nic_on(hw);



    \
     
     \ /
      Last update: 2011-09-29 00:59    [W:0.021 / U:0.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site