[MAC80211]: ignore key index on pairwise key (WEP only)
authorVolker Braun <vbraun@physics.upenn.edu>
Fri, 14 Sep 2007 15:10:25 +0000 (11:10 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:30 +0000 (16:49 -0700)
commit139c3a0492745192f999aaa67d11cb63983211f5
tree564aa64234227385c118a28f82353ddb8e0a012d
parentc39e3a0d0380b12f45bf85a619d3df45e437ee45
[MAC80211]: ignore key index on pairwise key (WEP only)

Work-around for broken APs that use a non-zero key index for WEP
pairwise keys. With this patch, WEP encryption only is exempt from
providing a zero key index.

Signed-off-by: Volker Braun <volker.braun@physik.hu-berlin.de>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c