Skip to content

Commit

Permalink
[PATCH] wireless/ipw2200: support WE-18 WPA enc_capa
Browse files Browse the repository at this point in the history
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: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed Jan 31, 2006
1 parent 4be757d commit f1b5086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -8392,7 +8392,7 @@ static int ipw_wx_get_range(struct net_device *dev,

/* Set the Wireless Extension versions */
range->we_version_compiled = WIRELESS_EXT;
range->we_version_source = 16;
range->we_version_source = 18;

i = 0;
if (priv->ieee->mode & (IEEE_B | IEEE_G)) {
Expand Down Expand Up @@ -8424,6 +8424,9 @@ static int ipw_wx_get_range(struct net_device *dev,
IW_EVENT_CAPA_MASK(SIOCGIWAP));
range->event_capa[1] = IW_EVENT_CAPA_K_1;

range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 |
IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP;

IPW_DEBUG_WX("GET Range\n");
return 0;
}
Expand Down

0 comments on commit f1b5086

Please sign in to comment.