[patch] ipw2100: support WEXT-18 enc_capa v3

This patch allows ipw2100 driver to advertise the WPA-related encryption
options that it does really support. It's necessary to work correctly
with NetworkManager and other programs that actually check driver & card
capabilities.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by

Dan Williams and committed by
Jeff Garzik
166c3436 64916f1e

+4 -1
+4 -1
drivers/net/wireless/ipw2100.c
··· 7153 7153 7154 7154 /* Set the Wireless Extension versions */ 7155 7155 range->we_version_compiled = WIRELESS_EXT; 7156 - range->we_version_source = 16; 7156 + range->we_version_source = 18; 7157 7157 7158 7158 // range->retry_capa; /* What retry options are supported */ 7159 7159 // range->retry_flags; /* How to decode max/min retry limit */ ··· 7183 7183 range->event_capa[0] = (IW_EVENT_CAPA_K_0 | 7184 7184 IW_EVENT_CAPA_MASK(SIOCGIWAP)); 7185 7185 range->event_capa[1] = IW_EVENT_CAPA_K_1; 7186 + 7187 + range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | 7188 + IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP; 7186 7189 7187 7190 IPW_DEBUG_WX("GET Range\n"); 7188 7191