aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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",