libertas: don't block usb8388 suspend if no wakeup conditions are set
authorDaniel Drake <dsd@laptop.org>
Sun, 31 Oct 2010 13:40:12 +0000 (13:40 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:02 +0000 (16:37 -0500)
commitcf43298864fdfd687202db8c736473522bfceb98
tree0c546d4f179c2379f763aa5403bed1cd7d5e6410
parentb1d771ee33c6e4006676002b9d74abf45b71d3d6
libertas: don't block usb8388 suspend if no wakeup conditions are set

This hunk added by commit 66fceb69b72f seems erroneous. We don't want to
prevent suspend of the whole system if no wakeup params are set.

In the case of the usb8388 we do want to keep the card powered up even
if there are no wakeup params. This is because it will continue acting
as a mesh node.

If the mesh is disabled, it would indeed make more sense to power down
the card during suspend, as the equivalent hunk does for the SD interface.
But that's a separate task; for now just restore the previous behaviour.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c