diff options
author | Dan Williams <dcbw@redhat.com> | 2009-04-08 18:15:17 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-16 18:39:10 +0400 |
commit | 011f5c5bb20c08af93faa8bfd8d611c8cf85134f (patch) | |
tree | d4178ed994b0915786bf3496ef4968b61a9785f5 /drivers/net/wireless | |
parent | 02a9a39294017f105aedebcca5f49d552b18dbaa (diff) | |
download | linux-011f5c5bb20c08af93faa8bfd8d611c8cf85134f.tar.xz |
airo: queue SIOCSIWAUTH-requested auth mode change for next commit
Code was clearly wrong, plus callers expect the mode change to happen as
soon as possible, not dropped on the floor until the next time some
other config value changes and a commit happens.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index f21a6171c691..c36d3a3d655f 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c @@ -6713,11 +6713,11 @@ static int airo_set_auth(struct net_device *dev, local->config.authType = AUTH_ENCRYPT; } else return -EINVAL; - break; /* Commit the changes to flags if needed */ if (local->config.authType != currentAuthType) set_bit (FLAG_COMMIT, &local->flags); + break; } case IW_AUTH_WPA_ENABLED: |