diff options
-rw-r--r-- | drivers/net/wireless/hostap/hostap_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index 6c158a569485..09004a632ae7 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c | |||
@@ -3417,7 +3417,7 @@ static void prism2_free_local_data(struct net_device *dev) | |||
3417 | } | 3417 | } |
3418 | 3418 | ||
3419 | 3419 | ||
3420 | #ifndef PRISM2_PLX | 3420 | #if (defined(PRISM2_PCI) && defined(CONFIG_PM)) || defined(PRISM2_PCCARD) |
3421 | static void prism2_suspend(struct net_device *dev) | 3421 | static void prism2_suspend(struct net_device *dev) |
3422 | { | 3422 | { |
3423 | struct hostap_interface *iface; | 3423 | struct hostap_interface *iface; |
@@ -3436,7 +3436,7 @@ static void prism2_suspend(struct net_device *dev) | |||
3436 | /* Disable hardware and firmware */ | 3436 | /* Disable hardware and firmware */ |
3437 | prism2_hw_shutdown(dev, 0); | 3437 | prism2_hw_shutdown(dev, 0); |
3438 | } | 3438 | } |
3439 | #endif /* PRISM2_PLX */ | 3439 | #endif /* (PRISM2_PCI && CONFIG_PM) || PRISM2_PCCARD */ |
3440 | 3440 | ||
3441 | 3441 | ||
3442 | /* These might at some point be compiled separately and used as separate | 3442 | /* These might at some point be compiled separately and used as separate |