Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13570
b: refs/heads/master
c: e666619
h: refs/heads/master
v: v3
  • Loading branch information
James Ketrenos committed Nov 7, 2005
1 parent db08953 commit 4a5d400
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 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: 6de9f7f27defe6f1a2d33d0b78af6b1a0ad18330
refs/heads/master: e666619e232308c8ee2aba6b87f28ad26b38d905
29 changes: 15 additions & 14 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -10465,9 +10465,17 @@ static int ipw_config(struct ipw_priv *priv)
if (ipw_send_host_complete(priv))
goto error;

/* If configured to try and auto-associate, kick off a scan */
if (priv->config & CFG_ASSOCIATE)
queue_work(priv->workqueue, &priv->request_scan);
priv->status |= STATUS_INIT;

ipw_led_init(priv);
ipw_led_radio_on(priv);
priv->notif_missed_beacons = 0;

/* Set hardware WEP key if it is configured. */
if ((priv->capability & CAP_PRIVACY_ON) &&
(priv->ieee->sec.level == SEC_LEVEL_1) &&
!(priv->ieee->host_encrypt || priv->ieee->host_decrypt))
ipw_set_hwcrypto_keys(priv);

return 0;

Expand Down Expand Up @@ -10773,17 +10781,10 @@ static int ipw_up(struct ipw_priv *priv)
rc = ipw_config(priv);
if (!rc) {
IPW_DEBUG_INFO("Configured device on count %i\n", i);
ipw_led_init(priv);
ipw_led_radio_on(priv);
priv->notif_missed_beacons = 0;
priv->status |= STATUS_INIT;

/* Set hardware WEP key if it is configured. */
if ((priv->capability & CAP_PRIVACY_ON) &&
(priv->ieee->sec.level == SEC_LEVEL_1) &&
!(priv->ieee->host_encrypt ||
priv->ieee->host_decrypt))
ipw_set_hwcrypto_keys(priv);

/* If configure to try and auto-associate, kick
* off a scan. */
queue_work(priv->workqueue, &priv->request_scan);

return 0;
}
Expand Down

0 comments on commit 4a5d400

Please sign in to comment.