mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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);
|
||||
|
||||
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.
|
||||
* However, try to reply to authentication attempts if someone
|
||||
* has actually implemented this.
|
||||
* TODO: Could implement shared key authentication. */
|
||||
*/
|
||||
if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
|
||||
printk(KERN_DEBUG "%s: unexpected IBSS authentication "
|
||||
"frame (alg=%d transaction=%d)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user