mac80211: In IBSS the DA field of auth frames is different from BSSID
In case of authentication frame exchange between two IBSS STAs, the DA field must contain the destinatioin address (instead of the BSSID). Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
e9980e6d20
commit
efa6a09db6
@ -57,7 +57,7 @@ static void ieee80211_rx_mgmt_auth_ibss(struct ieee80211_sub_if_data *sdata,
|
||||
* has actually implemented this.
|
||||
*/
|
||||
if (auth_alg == WLAN_AUTH_OPEN && auth_transaction == 1)
|
||||
ieee80211_send_auth(sdata, 2, WLAN_AUTH_OPEN, NULL, 0,
|
||||
ieee80211_send_auth(sdata, 2, WLAN_AUTH_OPEN, NULL, 0, mgmt->sa,
|
||||
sdata->u.ibss.bssid, NULL, 0, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user