lkml.org 
[lkml]   [2008]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 7/8] hfa384x_usbin_callback: check for hardware removed
    From
    Date
    hfa384x_usbin_callback: check for hardware removed

    copied from latest wlan-ng-devel version

    Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
    ---
    drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
    index 4b1d24e..9184e27 100644
    --- a/drivers/staging/wlan-ng/hfa384x_usb.c
    +++ b/drivers/staging/wlan-ng/hfa384x_usb.c
    @@ -3788,7 +3788,7 @@ static void hfa384x_usbin_callback(struct urb *urb, struct pt_regs *regs)

    if ( !wlandev ||
    !wlandev->netdev ||
    - !netif_device_present(wlandev->netdev) )
    + wlandev->hwremoved )
    goto exit;

    hw = wlandev->priv;
    --
    1.5.6.5




    \
     
     \ /
      Last update: 2008-11-03 12:27    [W:0.022 / U:30.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site