diff options
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c index f01676ac481b..dbaa51890198 100644 --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c | |||
@@ -133,9 +133,9 @@ void b43_phy_exit(struct b43_wldev *dev) | |||
133 | bool b43_has_hardware_pctl(struct b43_wldev *dev) | 133 | bool b43_has_hardware_pctl(struct b43_wldev *dev) |
134 | { | 134 | { |
135 | if (!dev->phy.hardware_power_control) | 135 | if (!dev->phy.hardware_power_control) |
136 | return 0; | 136 | return false; |
137 | if (!dev->phy.ops->supports_hwpctl) | 137 | if (!dev->phy.ops->supports_hwpctl) |
138 | return 0; | 138 | return false; |
139 | return dev->phy.ops->supports_hwpctl(dev); | 139 | return dev->phy.ops->supports_hwpctl(dev); |
140 | } | 140 | } |
141 | 141 | ||