diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-01 16:47:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-01 16:47:08 -0400 |
commit | 54f5ffbf308828b588b9d1acd9a512d433be8a09 (patch) | |
tree | 02746522e57bd0c92432a17d53ba40666cd41ced | |
parent | 1d24fb3684f347226747c6b11ea426b7b992694e (diff) | |
parent | de312db345f9770b64ff39ef5a7f86f6358e93cc (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
-rw-r--r-- | MAINTAINERS | 12 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/main.c | 8 | ||||
-rw-r--r-- | net/mac80211/scan.c | 2 |
5 files changed, 17 insertions, 13 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 3adbbb294bad..cae7438d963e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -3553,17 +3553,13 @@ L: linux-pm@vger.kernel.org | |||
3553 | S: Supported | 3553 | S: Supported |
3554 | F: arch/x86/platform/mrst/pmu.* | 3554 | F: arch/x86/platform/mrst/pmu.* |
3555 | 3555 | ||
3556 | INTEL PRO/WIRELESS 2100 NETWORK CONNECTION SUPPORT | 3556 | INTEL PRO/WIRELESS 2100, 2200BG, 2915ABG NETWORK CONNECTION SUPPORT |
3557 | M: Stanislav Yakovlev <stas.yakovlev@gmail.com> | ||
3557 | L: linux-wireless@vger.kernel.org | 3558 | L: linux-wireless@vger.kernel.org |
3558 | S: Orphan | 3559 | S: Maintained |
3559 | F: Documentation/networking/README.ipw2100 | 3560 | F: Documentation/networking/README.ipw2100 |
3560 | F: drivers/net/wireless/ipw2x00/ipw2100.* | ||
3561 | |||
3562 | INTEL PRO/WIRELESS 2915ABG NETWORK CONNECTION SUPPORT | ||
3563 | L: linux-wireless@vger.kernel.org | ||
3564 | S: Orphan | ||
3565 | F: Documentation/networking/README.ipw2200 | 3561 | F: Documentation/networking/README.ipw2200 |
3566 | F: drivers/net/wireless/ipw2x00/ipw2200.* | 3562 | F: drivers/net/wireless/ipw2x00/ |
3567 | 3563 | ||
3568 | INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT) | 3564 | INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT) |
3569 | M: Joseph Cihula <joseph.cihula@intel.com> | 3565 | M: Joseph Cihula <joseph.cihula@intel.com> |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 38794850f005..215eb2536b1e 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -640,7 +640,7 @@ static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, | |||
640 | an->sta = sta; | 640 | an->sta = sta; |
641 | an->vif = vif; | 641 | an->vif = vif; |
642 | 642 | ||
643 | if (sta->ht_cap.ht_supported) { | 643 | if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) { |
644 | ath_tx_node_init(sc, an); | 644 | ath_tx_node_init(sc, an); |
645 | an->maxampdu = 1 << (IEEE80211_HT_MAX_AMPDU_FACTOR + | 645 | an->maxampdu = 1 << (IEEE80211_HT_MAX_AMPDU_FACTOR + |
646 | sta->ht_cap.ampdu_factor); | 646 | sta->ht_cap.ampdu_factor); |
@@ -659,7 +659,7 @@ static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) | |||
659 | an->sta = NULL; | 659 | an->sta = NULL; |
660 | #endif | 660 | #endif |
661 | 661 | ||
662 | if (sta->ht_cap.ht_supported) | 662 | if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) |
663 | ath_tx_node_cleanup(sc, an); | 663 | ath_tx_node_cleanup(sc, an); |
664 | } | 664 | } |
665 | 665 | ||
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 4fcdac63a300..2b022571a859 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -11507,9 +11507,9 @@ static int ipw_wdev_init(struct net_device *dev) | |||
11507 | rc = -ENOMEM; | 11507 | rc = -ENOMEM; |
11508 | goto out; | 11508 | goto out; |
11509 | } | 11509 | } |
11510 | /* translate geo->bg to a_band.channels */ | 11510 | /* translate geo->a to a_band.channels */ |
11511 | for (i = 0; i < geo->a_channels; i++) { | 11511 | for (i = 0; i < geo->a_channels; i++) { |
11512 | a_band->channels[i].band = IEEE80211_BAND_2GHZ; | 11512 | a_band->channels[i].band = IEEE80211_BAND_5GHZ; |
11513 | a_band->channels[i].center_freq = geo->a[i].freq; | 11513 | a_band->channels[i].center_freq = geo->a[i].freq; |
11514 | a_band->channels[i].hw_value = geo->a[i].channel; | 11514 | a_band->channels[i].hw_value = geo->a[i].channel; |
11515 | a_band->channels[i].max_power = geo->a[i].max_power; | 11515 | a_band->channels[i].max_power = geo->a[i].max_power; |
diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index dd6c64ac406e..88e3ad2d1db8 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c | |||
@@ -1336,6 +1336,10 @@ static void qbuf_scan(struct orinoco_private *priv, void *buf, | |||
1336 | unsigned long flags; | 1336 | unsigned long flags; |
1337 | 1337 | ||
1338 | sd = kmalloc(sizeof(*sd), GFP_ATOMIC); | 1338 | sd = kmalloc(sizeof(*sd), GFP_ATOMIC); |
1339 | if (!sd) { | ||
1340 | printk(KERN_ERR "%s: failed to alloc memory\n", __func__); | ||
1341 | return; | ||
1342 | } | ||
1339 | sd->buf = buf; | 1343 | sd->buf = buf; |
1340 | sd->len = len; | 1344 | sd->len = len; |
1341 | sd->type = type; | 1345 | sd->type = type; |
@@ -1353,6 +1357,10 @@ static void qabort_scan(struct orinoco_private *priv) | |||
1353 | unsigned long flags; | 1357 | unsigned long flags; |
1354 | 1358 | ||
1355 | sd = kmalloc(sizeof(*sd), GFP_ATOMIC); | 1359 | sd = kmalloc(sizeof(*sd), GFP_ATOMIC); |
1360 | if (!sd) { | ||
1361 | printk(KERN_ERR "%s: failed to alloc memory\n", __func__); | ||
1362 | return; | ||
1363 | } | ||
1356 | sd->len = -1; /* Abort */ | 1364 | sd->len = -1; /* Abort */ |
1357 | 1365 | ||
1358 | spin_lock_irqsave(&priv->scan_lock, flags); | 1366 | spin_lock_irqsave(&priv->scan_lock, flags); |
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 33cd16901378..c70e17677135 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -370,7 +370,7 @@ static int ieee80211_start_sw_scan(struct ieee80211_local *local) | |||
370 | */ | 370 | */ |
371 | drv_sw_scan_start(local); | 371 | drv_sw_scan_start(local); |
372 | 372 | ||
373 | local->leave_oper_channel_time = 0; | 373 | local->leave_oper_channel_time = jiffies; |
374 | local->next_scan_state = SCAN_DECISION; | 374 | local->next_scan_state = SCAN_DECISION; |
375 | local->scan_channel_idx = 0; | 375 | local->scan_channel_idx = 0; |
376 | 376 | ||