diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-01-27 14:23:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-27 15:02:03 -0500 |
commit | d3d5621abf6d2105700795fcbdf784b9cb46b495 (patch) | |
tree | fe85093f89b8a3005f762de35a3419a92949b9d2 /drivers/net/wireless/libertas | |
parent | 47db3a677b533489d1a5a027282aa33f46dffa79 (diff) |
libertas: add comment re: v10 firmware key handling
Comment text suggested by Dan Williams <dcbw@redhat.com> in
<1263952092.4481.2.camel@localhost.localdomain>.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index 0979b07799a0..f03d5e4e59c3 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -2062,6 +2062,11 @@ void lbs_association_worker(struct work_struct *work) | |||
2062 | goto out; | 2062 | goto out; |
2063 | } | 2063 | } |
2064 | 2064 | ||
2065 | /* | ||
2066 | * v10 FW wants WPA keys to be set/cleared before WEP key operations, | ||
2067 | * otherwise it will fail to correctly associate to WEP networks. | ||
2068 | * Other firmware versions don't appear to care. | ||
2069 | */ | ||
2065 | if (test_bit(ASSOC_FLAG_WPA_MCAST_KEY, &assoc_req->flags) || | 2070 | if (test_bit(ASSOC_FLAG_WPA_MCAST_KEY, &assoc_req->flags) || |
2066 | test_bit(ASSOC_FLAG_WPA_UCAST_KEY, &assoc_req->flags)) { | 2071 | test_bit(ASSOC_FLAG_WPA_UCAST_KEY, &assoc_req->flags)) { |
2067 | ret = assoc_helper_wpa_keys(priv, assoc_req); | 2072 | ret = assoc_helper_wpa_keys(priv, assoc_req); |