diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-10-16 01:18:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:27 -0400 |
commit | 9829e1b510214956bc9d5e278be49d781e1a6fbf (patch) | |
tree | 412d0c279ee0a341ad467da3d466e7d8f505b1fd /drivers/net/wireless/iwmc3200wifi/commands.c | |
parent | 56e3f085f5b5e49cca37a3d1b0aa4266b984eb12 (diff) |
iwmc3200wifi: Try shared auth when open WEP fails
When we fail to associate with an open WEP AP, we fall back to shared auth.
This allows us to support joining a shared auth WEP AP with iwconfig.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/commands.c b/drivers/net/wireless/iwmc3200wifi/commands.c index 25fb8dfd83b5..cad511afd907 100644 --- a/drivers/net/wireless/iwmc3200wifi/commands.c +++ b/drivers/net/wireless/iwmc3200wifi/commands.c | |||
@@ -793,7 +793,7 @@ int iwm_invalidate_mlme_profile(struct iwm_priv *iwm) | |||
793 | return ret; | 793 | return ret; |
794 | 794 | ||
795 | ret = wait_event_interruptible_timeout(iwm->mlme_queue, | 795 | ret = wait_event_interruptible_timeout(iwm->mlme_queue, |
796 | (iwm->umac_profile_active == 0), 2 * HZ); | 796 | (iwm->umac_profile_active == 0), 5 * HZ); |
797 | 797 | ||
798 | return ret ? 0 : -EBUSY; | 798 | return ret ? 0 : -EBUSY; |
799 | } | 799 | } |