Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13584
b: refs/heads/master
c: cdd1fa1
h: refs/heads/master
v: v3
  • Loading branch information
Hong Liu authored and James Ketrenos committed Nov 7, 2005
1 parent ecd8f7b commit d64d4b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 567deaf6d4a3372cd16b8719741ca3a6157c9615
refs/heads/master: cdd1fa1e10a2231b5e24bde82550ac499aa5dcc4
10 changes: 10 additions & 0 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -5510,6 +5510,15 @@ 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)) {
IPW_DEBUG_ASSOC("Network '%s (" MAC_FMT ")' excluded "
"because of WPA capability mismatch.\n",
escape_essid(network->ssid, network->ssid_len),
MAC_ARG(network->bssid));
return 0;
}

if ((priv->config & CFG_STATIC_BSSID) &&
memcmp(network->bssid, priv->bssid, ETH_ALEN)) {
IPW_DEBUG_ASSOC("Network '%s (" MAC_FMT ")' excluded "
Expand Down Expand Up @@ -6228,6 +6237,7 @@ static int ipw_wpa_enable(struct ipw_priv *priv, int value)
{
/* This is called when wpa_supplicant loads and closes the driver
* interface. */
priv->ieee->wpa_enabled = value;
return 0;
}

Expand Down

0 comments on commit d64d4b5

Please sign in to comment.