| commit | 4bde0f7d1dca0a7d886997eb8dee3fb47a6484e4 | [log] [tgz] |
|---|---|---|
| author | Johannes Berg <johannes@sipsolutions.net> | Tue Jul 07 23:46:51 2009 +0200 |
| committer | John W. Linville <linville@tuxdriver.com> | Fri Jul 24 15:05:06 2009 -0400 |
| tree | 81d9b826c357200fe054ff31e6199235524789d6 | |
| parent | a71d62dbf3f0523b7a456333196cb26cf783fe92 [diff] |
cfg80211: fix two buglets
This fixes two small bugs:
1) the connect variable is already initialised, and the
assignment to auth_type overwrites the previous setting
with a wrong value
2) when all authentication attempts fail, we need to report
that we couldn't connect
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>