staging: wlags49_h2: Fixup IW_AUTH handling
authorDavid Kilroy <kilroyd@googlemail.com>
Sun, 9 Oct 2011 11:11:36 +0000 (12:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Oct 2011 22:22:38 +0000 (15:22 -0700)
commit9ef023006d8b94b892ec4cf5b05e5d4278af6451
treed144f1e7a6cdd74f5ded378e9ad58257b952a4db
parent05df482e6e41734bb68221b2aae50ea8a3911c5b
staging: wlags49_h2: Fixup IW_AUTH handling

Handle more cases in IW_AUTH.

Avoid reporting errors (invalid parameter) on operations that we
can't do anything with.

Return -EINPROGRESS from some operations to get wpa_supplicant to
batch and commit changes.

In other operations apply the changes immediately.

Avoid writing WEP keys from the commit handler when WEP is not
being used.

Accept WPA_VERSION_DISABLED, which is received from wpa_supplicant
during WEP.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlags49_h2/wl_main.c
drivers/staging/wlags49_h2/wl_wext.c