aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-06-16 14:55:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-26 16:49:17 -0400
commit135a2110c55c71d7ccaf5ac66968b993347fe8e2 (patch)
tree6e88924a1d7081803a0ff225f0b079d3be6c4db6 /net/mac80211
parent8160465dc7197dc1abc426852bb3fa00108923f4 (diff)
mac80211: remove shared key todo
Adding shared key authentication is not going to happen anyway. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/mlme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 6d9a4facf9dd..75c4e9743fb4 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1837,11 +1837,12 @@ static void ieee80211_rx_mgmt_auth(struct net_device *dev,
1837 auth_transaction, status_code); 1837 auth_transaction, status_code);
1838 1838
1839 if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { 1839 if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
1840 /* IEEE 802.11 standard does not require authentication in IBSS 1840 /*
1841 * IEEE 802.11 standard does not require authentication in IBSS
1841 * networks and most implementations do not seem to use it. 1842 * networks and most implementations do not seem to use it.
1842 * However, try to reply to authentication attempts if someone 1843 * However, try to reply to authentication attempts if someone
1843 * has actually implemented this. 1844 * has actually implemented this.
1844 * TODO: Could implement shared key authentication. */ 1845 */
1845 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) { 1846 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
1846 printk(KERN_DEBUG "%s: unexpected IBSS authentication " 1847 printk(KERN_DEBUG "%s: unexpected IBSS authentication "
1847 "frame (alg=%d transaction=%d)\n", 1848 "frame (alg=%d transaction=%d)\n",