From: Suresh Reddy Date: Wed, 15 Jan 2014 07:53:40 +0000 (+0530) Subject: be2net: cleanup wake-on-lan code X-Git-Tag: v3.14-rc1~94^2~155^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a9e08e33ced4a87277edb63456ce108ad4e712;p=pandora-kernel.git be2net: cleanup wake-on-lan code This patch cleans-up wake-on-lan code in the following ways: 1) Removes some driver hacks in be_cmd_get_acpi_wol_cap() that were based on incorrect assumptions. 2) Uses the adapter->wol_en and wol_cap variables for checking if WoL is supported and enabled on an interface instead of referring to the exclusion list via the macro be_is_wol_supported() Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed