diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 098dda1a67c1..077480c4916a 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -3573,7 +3573,7 @@ static int b43_op_config(struct ieee80211_hw *hw, u32 changed) | |||
3573 | if (conf->channel->hw_value != phy->channel) | 3573 | if (conf->channel->hw_value != phy->channel) |
3574 | b43_switch_channel(dev, conf->channel->hw_value); | 3574 | b43_switch_channel(dev, conf->channel->hw_value); |
3575 | 3575 | ||
3576 | dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_RADIOTAP); | 3576 | dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_MONITOR); |
3577 | 3577 | ||
3578 | /* Adjust the desired TX power level. */ | 3578 | /* Adjust the desired TX power level. */ |
3579 | if (conf->power_level != 0) { | 3579 | if (conf->power_level != 0) { |
@@ -4669,7 +4669,7 @@ static int b43_wireless_core_attach(struct b43_wldev *dev) | |||
4669 | { | 4669 | { |
4670 | struct b43_wl *wl = dev->wl; | 4670 | struct b43_wl *wl = dev->wl; |
4671 | struct ssb_bus *bus = dev->dev->bus; | 4671 | struct ssb_bus *bus = dev->dev->bus; |
4672 | struct pci_dev *pdev = bus->host_pci; | 4672 | struct pci_dev *pdev = (bus->bustype == SSB_BUSTYPE_PCI) ? bus->host_pci : NULL; |
4673 | int err; | 4673 | int err; |
4674 | bool have_2ghz_phy = 0, have_5ghz_phy = 0; | 4674 | bool have_2ghz_phy = 0, have_5ghz_phy = 0; |
4675 | u32 tmp; | 4675 | u32 tmp; |
@@ -4802,7 +4802,7 @@ static int b43_one_core_attach(struct ssb_device *dev, struct b43_wl *wl) | |||
4802 | 4802 | ||
4803 | if (!list_empty(&wl->devlist)) { | 4803 | if (!list_empty(&wl->devlist)) { |
4804 | /* We are not the first core on this chip. */ | 4804 | /* We are not the first core on this chip. */ |
4805 | pdev = dev->bus->host_pci; | 4805 | pdev = (dev->bus->bustype == SSB_BUSTYPE_PCI) ? dev->bus->host_pci : NULL; |
4806 | /* Only special chips support more than one wireless | 4806 | /* Only special chips support more than one wireless |
4807 | * core, although some of the other chips have more than | 4807 | * core, although some of the other chips have more than |
4808 | * one wireless core as well. Check for this and | 4808 | * one wireless core as well. Check for this and |