]> git.karo-electronics.de Git - karo-tx-linux.git/commit
prism54: correct assignment of DOT1XENABLE in WE-19 codepaths
authorDan Williams <dcbw@redhat.com>
Tue, 13 Feb 2007 21:07:27 +0000 (16:07 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:17 +0000 (10:50 -0800)
commitbbf22c56d0943d4860f0bee21863708f2d3f962a
treef8908857ba167f84d36e5f7690b779c679069777
parent85560a1e39f9a974e9c4ce5352fd330d4b8fe399
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.

Applies to (I think) 2.6.19 and later.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/prism54/isl_ioctl.c