Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Oct 2010 19:39:28 +0000 (15:39 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Oct 2010 19:39:28 +0000 (15:39 -0400)
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/net/wireless/ipw2x00/ipw2200.c

12 files changed:
1  2 
Documentation/feature-removal-schedule.txt
MAINTAINERS
drivers/net/wireless/b43/phy_n.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/wl12xx/wl1271_scan.c
net/mac80211/main.c
net/wireless/core.h

@@@ -548,19 -564,12 +548,28 @@@ Who:    Rafael J. Wysocki <rjw@sisk.pl
  
  ----------------------------
  
 +What:         PCI DMA unmap state API
 +When: August 2012
 +Why:  PCI DMA unmap state API (include/linux/pci-dma.h) was replaced
 +      with DMA unmap state API (DMA unmap state API can be used for
 +      any bus).
 +Who:  FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
 +
 +----------------------------
 +
 +What:         DMA_xxBIT_MASK macros
 +When: Jun 2011
 +Why:  DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros.
 +Who:  FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
 +
 +----------------------------
 +
+ What: iwlwifi disable_hw_scan module parameters
+ When: 2.6.40
+ Why:  Hareware scan is the prefer method for iwlwifi devices for
+       scanning operation. Remove software scan support for all the
+       iwlwifi devices.
+ Who:  Wey-Yi Guy <wey-yi.w.guy@intel.com>
+ ----------------------------
diff --cc MAINTAINERS
Simple merge
Simple merge
@@@ -11467,9 -11467,13 +11467,13 @@@ static int ipw_net_init(struct net_devi
  
                bg_band->band = IEEE80211_BAND_2GHZ;
                bg_band->n_channels = geo->bg_channels;
 -              bg_band->channels =
 -                      kzalloc(geo->bg_channels *
 -                              sizeof(struct ieee80211_channel), GFP_KERNEL);
 +              bg_band->channels = kcalloc(geo->bg_channels,
 +                                          sizeof(struct ieee80211_channel),
 +                                          GFP_KERNEL);
+               if (!bg_band->channels) {
+                       rc = -ENOMEM;
+                       goto out;
+               }
                /* translate geo->bg to bg_band.channels */
                for (i = 0; i < geo->bg_channels; i++) {
                        bg_band->channels[i].band = IEEE80211_BAND_2GHZ;
  
                a_band->band = IEEE80211_BAND_5GHZ;
                a_band->n_channels = geo->a_channels;
 -              a_band->channels =
 -                      kzalloc(geo->a_channels *
 -                              sizeof(struct ieee80211_channel), GFP_KERNEL);
 +              a_band->channels = kcalloc(geo->a_channels,
 +                                         sizeof(struct ieee80211_channel),
 +                                         GFP_KERNEL);
+               if (!a_band->channels) {
+                       rc = -ENOMEM;
+                       goto out;
+               }
                /* translate geo->bg to a_band.channels */
                for (i = 0; i < geo->a_channels; i++) {
                        a_band->channels[i].band = IEEE80211_BAND_2GHZ;
Simple merge
Simple merge
Simple merge
@@@ -246,9 -292,14 +292,14 @@@ int wl1271_scan(struct wl1271 *wl, cons
  
        wl->scan.req = req;
  
 -      wl->scan.scanned_ch = kzalloc(req->n_channels *
 +      wl->scan.scanned_ch = kcalloc(req->n_channels,
                                      sizeof(*wl->scan.scanned_ch),
                                      GFP_KERNEL);
+       /* we assume failure so that timeout scenarios are handled correctly */
+       wl->scan.failed = true;
+       ieee80211_queue_delayed_work(wl->hw, &wl->scan_complete_work,
+                                    msecs_to_jiffies(WL1271_SCAN_TIMEOUT));
        wl1271_scan_stm(wl);
  
        return 0;
Simple merge
Simple merge