Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109278
b: refs/heads/master
c: d0c2912
h: refs/heads/master
v: v3
  • Loading branch information
Dan Williams authored and John W. Linville committed Aug 27, 2008
1 parent 551c511 commit f5067a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c34a5d821b825b720189e87561ba18500cf8026
refs/heads/master: d0c2912fe8df81a8b723fb6ec4d4cdf523cbaff7
10 changes: 9 additions & 1 deletion trunk/drivers/net/wireless/atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3062,12 +3062,20 @@ static void authenticate(struct atmel_private *priv, u16 frame_len)
}

if (status == WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG) {
/* Do opensystem first, then try sharedkey */
/* Flip back and forth between WEP auth modes until the max
* authentication tries has been exceeded.
*/
if (system == WLAN_AUTH_OPEN) {
priv->CurrentAuthentTransactionSeqNum = 0x001;
priv->exclude_unencrypted = 1;
send_authentication_request(priv, WLAN_AUTH_SHARED_KEY, NULL, 0);
return;
} else if ( system == WLAN_AUTH_SHARED_KEY
&& priv->wep_is_on) {
priv->CurrentAuthentTransactionSeqNum = 0x001;
priv->exclude_unencrypted = 0;
send_authentication_request(priv, WLAN_AUTH_OPEN, NULL, 0);
return;
} else if (priv->connect_to_any_BSS) {
int bss_index;

Expand Down

0 comments on commit f5067a3

Please sign in to comment.