[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120503.014330.1072601379213618284.davem@davemloft.net>
Date:	Thu, 03 May 2012 01:43:30 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	gerard.lledo@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH] sungem: Fix WakeOnLan
From: Gerard Lledo <gerard.lledo@...il.com>
Date: Sat, 28 Apr 2012 21:52:37 +0300
> From: Gerard Lledo <gerard.lledo@...il.com>
> 
> WakeOnLan was broken in this driver because gp->asleep_wol is a 1-bit
> bitfield and it was being assigned WAKE_MAGIC, which is (1 << 5).
> gp->asleep_wol remains 0 and the machine never wakes up.  Fixed by casting
> gp->wake_on_lan to bool.  Tested on an iBook G4.
> 
> Signed-off-by: Gerard Lledo <gerard.lledo@...il.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
