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>
This commit is contained in:
parent
8160465dc7
commit
135a2110c5
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue