aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/zd1211rw/zd_mac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c
index d7a86b188a9..bd1593e13f8 100644
--- a/drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zd1211rw/zd_mac.c
@@ -615,6 +615,9 @@ int zd_mac_get_range(struct zd_mac *mac, struct iw_range *range)
615 range->we_version_compiled = WIRELESS_EXT; 615 range->we_version_compiled = WIRELESS_EXT;
616 range->we_version_source = 20; 616 range->we_version_source = 20;
617 617
618 range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 |
619 IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP;
620
618 ZD_ASSERT(!irqs_disabled()); 621 ZD_ASSERT(!irqs_disabled());
619 spin_lock_irq(&mac->lock); 622 spin_lock_irq(&mac->lock);
620 regdomain = mac->regdomain; 623 regdomain = mac->regdomain;