lkml.org 
[lkml]   [2009]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 51/74] atl1c: WAKE_MCAST tested twice, not WAKE_UCAST
    2.6.30-stable review patch.  If anyone has any objections, please let us know.

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

    From: Roel Kluin <roel.kluin@gmail.com>

    commit 0ed586d075ef65c0268982e5b7f36d0ffaa95547 upstream.

    The WAKE_MCAST bit is tested twice, the first should be WAKE_UCAST.

    Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
    Cc: Jie Yang <jie.yang@atheros.com>
    Cc: Jay Cliburn <jcliburn@gmail.com>
    Cc: Chris Snook <csnook@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/atl1c/atl1c_ethtool.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/atl1c/atl1c_ethtool.c
    +++ b/drivers/net/atl1c/atl1c_ethtool.c
    @@ -271,7 +271,7 @@ static int atl1c_set_wol(struct net_devi
    struct atl1c_adapter *adapter = netdev_priv(netdev);

    if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE |
    - WAKE_MCAST | WAKE_BCAST | WAKE_MCAST))
    + WAKE_UCAST | WAKE_BCAST | WAKE_MCAST))
    return -EOPNOTSUPP;
    /* these settings will always override what we currently have */
    adapter->wol = 0;



    \
     
     \ /
      Last update: 2009-08-13 22:27    [W:0.019 / U:90.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site