diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-05-24 16:47:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-24 16:47:54 -0400 |
commit | 31ec97d9cebac804814de298592648f7c18d8281 (patch) | |
tree | f725fcce0d5a9d6d7bd64b777de0a44e71773d0e /drivers/net/wireless/b43/rfkill.c | |
parent | 557eed603159b4e007c57d97fad1333ecebd3c2e (diff) | |
parent | daf8cf608d57a0b9f22276036e420cc82cf6ab4f (diff) |
Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/b43/rfkill.c')
-rw-r--r-- | drivers/net/wireless/b43/rfkill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/rfkill.c b/drivers/net/wireless/b43/rfkill.c index 86bc0a0f735c..a617efe38289 100644 --- a/drivers/net/wireless/b43/rfkill.c +++ b/drivers/net/wireless/b43/rfkill.c | |||
@@ -37,7 +37,7 @@ void b43_rfkill_poll(struct ieee80211_hw *hw) | |||
37 | { | 37 | { |
38 | struct b43_wl *wl = hw_to_b43_wl(hw); | 38 | struct b43_wl *wl = hw_to_b43_wl(hw); |
39 | struct b43_wldev *dev = wl->current_dev; | 39 | struct b43_wldev *dev = wl->current_dev; |
40 | struct ssb_bus *bus = dev->dev->bus; | 40 | struct ssb_bus *bus = dev->sdev->bus; |
41 | bool enabled; | 41 | bool enabled; |
42 | bool brought_up = false; | 42 | bool brought_up = false; |
43 | 43 | ||
@@ -47,7 +47,7 @@ void b43_rfkill_poll(struct ieee80211_hw *hw) | |||
47 | mutex_unlock(&wl->mutex); | 47 | mutex_unlock(&wl->mutex); |
48 | return; | 48 | return; |
49 | } | 49 | } |
50 | ssb_device_enable(dev->dev, 0); | 50 | ssb_device_enable(dev->sdev, 0); |
51 | brought_up = true; | 51 | brought_up = true; |
52 | } | 52 | } |
53 | 53 | ||
@@ -63,7 +63,7 @@ void b43_rfkill_poll(struct ieee80211_hw *hw) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | if (brought_up) { | 65 | if (brought_up) { |
66 | ssb_device_disable(dev->dev, 0); | 66 | ssb_device_disable(dev->sdev, 0); |
67 | ssb_bus_may_powerdown(bus); | 67 | ssb_bus_may_powerdown(bus); |
68 | } | 68 | } |
69 | 69 | ||