mac80211: fix IBSS auth
Johannes Berg
maintainerPATCH 1/1 mac80211: fix IBSS auth
The code beyond this point is supposed to be used for non-IBSS (managed) mode only.
Signed-off-by Johannes Berg <[email protected]>
Cc Jouni Malinen <[email protected]>
--- net/mac80211/mlme.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/mlme.c +1 -0
@@ -1175,6 +1175,7 @@ static void ieee80211_rx_mgmt_auth(strucif (auth_alg !=WLAN_AUTH_OPEN || auth_transaction !=1 )return ;ieee80211_send_auth (sdata, ifsta,2 ,NULL ,0 ,0 ); +return ; } if (auth_alg != ifsta->auth_alg ||