diff options
-rw-r--r-- | MAINTAINERS | 8 | ||||
-rw-r--r-- | net/mac80211/ieee80211_sta.c | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f985dfa5941c..5b454627f211 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2449,13 +2449,15 @@ W: http://www.tazenda.demon.co.uk/phil/linux-hp | |||
2449 | S: Maintained | 2449 | S: Maintained |
2450 | 2450 | ||
2451 | MAC80211 | 2451 | MAC80211 |
2452 | P: Jiri Benc | ||
2453 | M: jbenc@suse.cz | ||
2454 | P: Michael Wu | 2452 | P: Michael Wu |
2455 | M: flamingice@sourmilk.net | 2453 | M: flamingice@sourmilk.net |
2454 | P: Johannes Berg | ||
2455 | M: johannes@sipsolutions.net | ||
2456 | P: Jiri Benc | ||
2457 | M: jbenc@suse.cz | ||
2456 | L: linux-wireless@vger.kernel.org | 2458 | L: linux-wireless@vger.kernel.org |
2457 | W: http://linuxwireless.org/ | 2459 | W: http://linuxwireless.org/ |
2458 | T: git kernel.org:/pub/scm/linux/kernel/git/jbenc/mac80211.git | 2460 | T: git kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6.git |
2459 | S: Maintained | 2461 | S: Maintained |
2460 | 2462 | ||
2461 | MACVLAN DRIVER | 2463 | MACVLAN DRIVER |
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index f7ffeec3913f..fda0e06453e8 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c | |||
@@ -1184,7 +1184,7 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev, | |||
1184 | printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=0x%x " | 1184 | printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=0x%x " |
1185 | "status=%d aid=%d)\n", | 1185 | "status=%d aid=%d)\n", |
1186 | dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa), | 1186 | dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa), |
1187 | capab_info, status_code, aid & ~(BIT(15) | BIT(14))); | 1187 | capab_info, status_code, (u16)(aid & ~(BIT(15) | BIT(14)))); |
1188 | 1188 | ||
1189 | if (status_code != WLAN_STATUS_SUCCESS) { | 1189 | if (status_code != WLAN_STATUS_SUCCESS) { |
1190 | printk(KERN_DEBUG "%s: AP denied association (code=%d)\n", | 1190 | printk(KERN_DEBUG "%s: AP denied association (code=%d)\n", |
@@ -2096,7 +2096,8 @@ static int ieee80211_sta_match_ssid(struct ieee80211_if_sta *ifsta, | |||
2096 | { | 2096 | { |
2097 | int tmp, hidden_ssid; | 2097 | int tmp, hidden_ssid; |
2098 | 2098 | ||
2099 | if (!memcmp(ifsta->ssid, ssid, ssid_len)) | 2099 | if (ssid_len == ifsta->ssid_len && |
2100 | !memcmp(ifsta->ssid, ssid, ssid_len)) | ||
2100 | return 1; | 2101 | return 1; |
2101 | 2102 | ||
2102 | if (ifsta->flags & IEEE80211_STA_AUTO_BSSID_SEL) | 2103 | if (ifsta->flags & IEEE80211_STA_AUTO_BSSID_SEL) |