提交 a71800f3 编写于 作者: J Johannes Berg 提交者: John W. Linville

mac80211: fix IBSS auth

The code beyond this point is supposed to be used for
non-IBSS (managed) mode only.
Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Cc: Jouni Malinen <j@w1.fi>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 9a03d6d7
...@@ -1205,6 +1205,7 @@ static void ieee80211_rx_mgmt_auth(struct ieee80211_sub_if_data *sdata, ...@@ -1205,6 +1205,7 @@ static void ieee80211_rx_mgmt_auth(struct ieee80211_sub_if_data *sdata,
if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1)
return; return;
ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0); ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
return;
} }
if (auth_alg != ifsta->auth_alg || if (auth_alg != ifsta->auth_alg ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册