diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/join.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index ee439fc2f4f3..5c95e4839004 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c | |||
@@ -585,7 +585,7 @@ int mwifiex_ret_802_11_associate(struct mwifiex_private *priv, | |||
585 | le16_to_cpu(assoc_rsp->cap_info_bitmap), | 585 | le16_to_cpu(assoc_rsp->cap_info_bitmap), |
586 | le16_to_cpu(assoc_rsp->a_id)); | 586 | le16_to_cpu(assoc_rsp->a_id)); |
587 | 587 | ||
588 | ret = -1; | 588 | ret = le16_to_cpu(assoc_rsp->status_code); |
589 | goto done; | 589 | goto done; |
590 | } | 590 | } |
591 | 591 | ||