diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 6c58f8b5dcf5..a4e6a59ccac8 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -2158,7 +2158,6 @@ static void b43_mac_enable(struct b43_wldev *dev) | |||
2158 | { | 2158 | { |
2159 | dev->mac_suspended--; | 2159 | dev->mac_suspended--; |
2160 | B43_WARN_ON(dev->mac_suspended < 0); | 2160 | B43_WARN_ON(dev->mac_suspended < 0); |
2161 | B43_WARN_ON(irqs_disabled()); | ||
2162 | if (dev->mac_suspended == 0) { | 2161 | if (dev->mac_suspended == 0) { |
2163 | b43_write32(dev, B43_MMIO_MACCTL, | 2162 | b43_write32(dev, B43_MMIO_MACCTL, |
2164 | b43_read32(dev, B43_MMIO_MACCTL) | 2163 | b43_read32(dev, B43_MMIO_MACCTL) |
@@ -2184,7 +2183,6 @@ static void b43_mac_suspend(struct b43_wldev *dev) | |||
2184 | u32 tmp; | 2183 | u32 tmp; |
2185 | 2184 | ||
2186 | might_sleep(); | 2185 | might_sleep(); |
2187 | B43_WARN_ON(irqs_disabled()); | ||
2188 | B43_WARN_ON(dev->mac_suspended < 0); | 2186 | B43_WARN_ON(dev->mac_suspended < 0); |
2189 | 2187 | ||
2190 | if (dev->mac_suspended == 0) { | 2188 | if (dev->mac_suspended == 0) { |