aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-07-26 17:05:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-26 17:05:55 -0400
commite5036c2575b244851637a81efc4104c076c4fa21 (patch)
tree5d8d5dd0a768b77bda3299ea565c7444c26ed6f1
parent41bf37117b47fc5ce2aae91f6a108e7e42e0b046 (diff)
parent5bc91db8933bce07c3af86da2bd956414aa5a725 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
-rw-r--r--drivers/net/wireless/b43/Kconfig2
-rw-r--r--drivers/net/wireless/b43/bus.c2
-rw-r--r--drivers/net/wireless/b43/main.c5
-rw-r--r--drivers/nfc/pn533.c2
-rw-r--r--net/wireless/reg.c7
5 files changed, 11 insertions, 7 deletions
diff --git a/drivers/net/wireless/b43/Kconfig b/drivers/net/wireless/b43/Kconfig
index d2293dcc117f..3cab843afb05 100644
--- a/drivers/net/wireless/b43/Kconfig
+++ b/drivers/net/wireless/b43/Kconfig
@@ -28,7 +28,7 @@ config B43
28 28
29config B43_BCMA 29config B43_BCMA
30 bool "Support for BCMA bus" 30 bool "Support for BCMA bus"
31 depends on B43 && BCMA && BROKEN 31 depends on B43 && BCMA
32 default y 32 default y
33 33
34config B43_SSB 34config B43_SSB
diff --git a/drivers/net/wireless/b43/bus.c b/drivers/net/wireless/b43/bus.c
index 64c3f65ff8c0..05f6c7bff6ab 100644
--- a/drivers/net/wireless/b43/bus.c
+++ b/drivers/net/wireless/b43/bus.c
@@ -244,10 +244,12 @@ void b43_bus_set_wldev(struct b43_bus_dev *dev, void *wldev)
244#ifdef CONFIG_B43_BCMA 244#ifdef CONFIG_B43_BCMA
245 case B43_BUS_BCMA: 245 case B43_BUS_BCMA:
246 bcma_set_drvdata(dev->bdev, wldev); 246 bcma_set_drvdata(dev->bdev, wldev);
247 break;
247#endif 248#endif
248#ifdef CONFIG_B43_SSB 249#ifdef CONFIG_B43_SSB
249 case B43_BUS_SSB: 250 case B43_BUS_SSB:
250 ssb_set_drvdata(dev->sdev, wldev); 251 ssb_set_drvdata(dev->sdev, wldev);
252 break;
251#endif 253#endif
252 } 254 }
253} 255}
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 73fbf0358f96..a92cde8d2839 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -5350,6 +5350,7 @@ static void b43_ssb_remove(struct ssb_device *sdev)
5350{ 5350{
5351 struct b43_wl *wl = ssb_get_devtypedata(sdev); 5351 struct b43_wl *wl = ssb_get_devtypedata(sdev);
5352 struct b43_wldev *wldev = ssb_get_drvdata(sdev); 5352 struct b43_wldev *wldev = ssb_get_drvdata(sdev);
5353 struct b43_bus_dev *dev = wldev->dev;
5353 5354
5354 /* We must cancel any work here before unregistering from ieee80211, 5355 /* We must cancel any work here before unregistering from ieee80211,
5355 * as the ieee80211 unreg will destroy the workqueue. */ 5356 * as the ieee80211 unreg will destroy the workqueue. */
@@ -5365,14 +5366,14 @@ static void b43_ssb_remove(struct ssb_device *sdev)
5365 ieee80211_unregister_hw(wl->hw); 5366 ieee80211_unregister_hw(wl->hw);
5366 } 5367 }
5367 5368
5368 b43_one_core_detach(wldev->dev); 5369 b43_one_core_detach(dev);
5369 5370
5370 if (list_empty(&wl->devlist)) { 5371 if (list_empty(&wl->devlist)) {
5371 b43_leds_unregister(wl); 5372 b43_leds_unregister(wl);
5372 /* Last core on the chip unregistered. 5373 /* Last core on the chip unregistered.
5373 * We can destroy common struct b43_wl. 5374 * We can destroy common struct b43_wl.
5374 */ 5375 */
5375 b43_wireless_exit(wldev->dev, wl); 5376 b43_wireless_exit(dev, wl);
5376 } 5377 }
5377} 5378}
5378 5379
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index 037231540719..c77e0543e502 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1596,7 +1596,7 @@ static void pn533_disconnect(struct usb_interface *interface)
1596 usb_free_urb(dev->out_urb); 1596 usb_free_urb(dev->out_urb);
1597 kfree(dev); 1597 kfree(dev);
1598 1598
1599 nfc_dev_info(&dev->interface->dev, "NXP PN533 NFC device disconnected"); 1599 nfc_dev_info(&interface->dev, "NXP PN533 NFC device disconnected");
1600} 1600}
1601 1601
1602static struct usb_driver pn533_driver = { 1602static struct usb_driver pn533_driver = {
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 1ad0f39fe091..02751dbc5a97 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -903,7 +903,7 @@ static bool ignore_reg_update(struct wiphy *wiphy,
903 initiator != NL80211_REGDOM_SET_BY_COUNTRY_IE && 903 initiator != NL80211_REGDOM_SET_BY_COUNTRY_IE &&
904 !is_world_regdom(last_request->alpha2)) { 904 !is_world_regdom(last_request->alpha2)) {
905 REG_DBG_PRINT("Ignoring regulatory request %s " 905 REG_DBG_PRINT("Ignoring regulatory request %s "
906 "since the driver requires its own regulaotry " 906 "since the driver requires its own regulatory "
907 "domain to be set first", 907 "domain to be set first",
908 reg_initiator_name(initiator)); 908 reg_initiator_name(initiator));
909 return true; 909 return true;
@@ -1125,12 +1125,13 @@ void wiphy_update_regulatory(struct wiphy *wiphy,
1125 enum ieee80211_band band; 1125 enum ieee80211_band band;
1126 1126
1127 if (ignore_reg_update(wiphy, initiator)) 1127 if (ignore_reg_update(wiphy, initiator))
1128 goto out; 1128 return;
1129
1129 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 1130 for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
1130 if (wiphy->bands[band]) 1131 if (wiphy->bands[band])
1131 handle_band(wiphy, band, initiator); 1132 handle_band(wiphy, band, initiator);
1132 } 1133 }
1133out: 1134
1134 reg_process_beacons(wiphy); 1135 reg_process_beacons(wiphy);
1135 reg_process_ht_flags(wiphy); 1136 reg_process_ht_flags(wiphy);
1136 if (wiphy->reg_notifier) 1137 if (wiphy->reg_notifier)