Commit 135a2110 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

mac80211: remove shared key todo

Adding shared key authentication is not going to happen anyway.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8160465d
...@@ -1837,11 +1837,12 @@ static void ieee80211_rx_mgmt_auth(struct net_device *dev, ...@@ -1837,11 +1837,12 @@ static void ieee80211_rx_mgmt_auth(struct net_device *dev,
auth_transaction, status_code); auth_transaction, status_code);
if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
/* IEEE 802.11 standard does not require authentication in IBSS /*
* IEEE 802.11 standard does not require authentication in IBSS
* networks and most implementations do not seem to use it. * networks and most implementations do not seem to use it.
* However, try to reply to authentication attempts if someone * However, try to reply to authentication attempts if someone
* has actually implemented this. * has actually implemented this.
* TODO: Could implement shared key authentication. */ */
if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) { if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
printk(KERN_DEBUG "%s: unexpected IBSS authentication " printk(KERN_DEBUG "%s: unexpected IBSS authentication "
"frame (alg=%d transaction=%d)\n", "frame (alg=%d transaction=%d)\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment