|
|
@@ -3367,7 +3367,7 @@ static unsigned int OnAssocReq(struct adapter *padapter,
|
|
|
spin_unlock_bh(&pstapriv->asoc_list_lock);
|
|
|
|
|
|
/* now the station is qualified to join our BSS... */
|
|
|
- if (pstat && (pstat->state & WIFI_FW_ASSOC_SUCCESS) && (_STATS_SUCCESSFUL_ == status)) {
|
|
|
+ if ((pstat->state & WIFI_FW_ASSOC_SUCCESS) && (_STATS_SUCCESSFUL_ == status)) {
|
|
|
/* 1 bss_cap_update & sta_info_update */
|
|
|
bss_cap_update_on_sta_join(padapter, pstat);
|
|
|
sta_info_update(padapter, pstat);
|