Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21226
b: refs/heads/master
c: 23afaec
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Rompf authored and John W. Linville committed Feb 17, 2006
1 parent 5858b63 commit 6c0b0a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 471680828330e6b2aac295cf7ac9d8e5820df2eb
refs/heads/master: 23afaec4441baf0579fa115b626242d4d23704dd
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -5533,8 +5533,8 @@ static int ipw_best_network(struct ipw_priv *priv,
return 0;
}

if (!priv->ieee->wpa_enabled && (network->wpa_ie_len > 0 ||
network->rsn_ie_len > 0)) {
if (priv->ieee->wpa_enabled &&
network->wpa_ie_len == 0 && network->rsn_ie_len == 0) {
IPW_DEBUG_ASSOC("Network '%s (" MAC_FMT ")' excluded "
"because of WPA capability mismatch.\n",
escape_essid(network->ssid, network->ssid_len),
Expand Down

0 comments on commit 6c0b0a1

Please sign in to comment.