[PATCH] prism54: correct assignment of DOT1XENABLE in WE-19 codepaths
authorDan Williams <dcbw@redhat.com>
Tue, 13 Feb 2007 19:00:22 +0000 (14:00 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Feb 2007 20:45:04 +0000 (15:45 -0500)
commitb5c41651645f7604dda7abc3445e1622f9b1b9ab
treed54bf24905e9555b066f33a9213296452dc0b0a4
parent44956855ff9e21f58633a628b6b64e549a2fa0ed
[PATCH] prism54: correct assignment of DOT1XENABLE in WE-19 codepaths

Correct assignment of DOT1XENABLE in WE-19 codepaths.
RX_UNENCRYPTED_EAPOL = 1 really means setting DOT1XENABLE _off_, and
vice versa.  The original WE-19 patch erroneously reversed that.  This
patch fixes association with unencrypted and WEP networks when using
wpa_supplicant.

It also adds two missing break statements that, left out, could result
in incorrect card configuration.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/isl_ioctl.c