mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drivers: net: wireless: Fix wrong check for reassociation request retry counter
There is a typo where the checking for priv->ReAssociationRequestRetryCnt must be, it was checking for priv->AssociationRequestRetryCnt instead. Signed-off-by: Felipe Pena <felipensp@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a413e39a38
commit
13996ade21
1 changed files with 1 additions and 1 deletions
|
@ -3212,7 +3212,7 @@ static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype)
|
|||
if (subtype == IEEE80211_STYPE_REASSOC_RESP &&
|
||||
status != WLAN_STATUS_ASSOC_DENIED_RATES &&
|
||||
status != WLAN_STATUS_CAPS_UNSUPPORTED &&
|
||||
priv->AssociationRequestRetryCnt < MAX_ASSOCIATION_RETRIES) {
|
||||
priv->ReAssociationRequestRetryCnt < MAX_ASSOCIATION_RETRIES) {
|
||||
mod_timer(&priv->management_timer, jiffies + MGMT_JIFFIES);
|
||||
priv->ReAssociationRequestRetryCnt++;
|
||||
send_association_request(priv, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue