diff options
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index dfffabc41dd0..7ebd83605776 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -300,8 +300,7 @@ static int should_deauth_infrastructure(wlan_adapter *adapter, | |||
300 | } | 300 | } |
301 | 301 | ||
302 | if (test_bit(ASSOC_FLAG_SECINFO, &assoc_req->flags)) { | 302 | if (test_bit(ASSOC_FLAG_SECINFO, &assoc_req->flags)) { |
303 | if (adapter->secinfo.authmode != | 303 | if (adapter->secinfo.auth_mode != assoc_req->secinfo.auth_mode) { |
304 | assoc_req->secinfo.authmode) { | ||
305 | lbs_pr_debug(1, "Deauthenticating due to updated security " | 304 | lbs_pr_debug(1, "Deauthenticating due to updated security " |
306 | "info in configuration request.\n"); | 305 | "info in configuration request.\n"); |
307 | return 1; | 306 | return 1; |