diff options
author | Zhu Yi <yi.zhu@intel.com> | 2009-05-21 15:47:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-22 20:06:02 +0200 |
commit | e31a16d6f64ef0e324c6f54d5112703c3f13a9c4 (patch) | |
tree | 4ed30d0ebd1d948aaa14bcd4fb52f29d9bb2e7a8 /drivers/net/wireless/rt2x00 | |
parent | mac80211: correct probe wait time (diff) | |
download | linux-e31a16d6f64ef0e324c6f54d5112703c3f13a9c4.tar.xz linux-e31a16d6f64ef0e324c6f54d5112703c3f13a9c4.zip |
wireless: move some utility functions from mac80211 to cfg80211
The patch moves some utility functions from mac80211 to cfg80211.
Because these functions are doing generic 802.11 operations so they
are not mac80211 specific. The moving allows some fullmac drivers
to be also benefit from these utility functions.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00crypto.c b/drivers/net/wireless/rt2x00/rt2x00crypto.c index 57ab42cfed34..bc4e81e21841 100644 --- a/drivers/net/wireless/rt2x00/rt2x00crypto.c +++ b/drivers/net/wireless/rt2x00/rt2x00crypto.c @@ -33,7 +33,7 @@ enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key) { switch (key->alg) { case ALG_WEP: - if (key->keylen == LEN_WEP40) + if (key->keylen == WLAN_KEY_LEN_WEP40) return CIPHER_WEP64; else return CIPHER_WEP128; |