mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around memcmp()
Caution: The wrapper inverts the state. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
24391e61f4
commit
89efde68f8
17 changed files with 137 additions and 149 deletions
|
@ -1537,8 +1537,8 @@ void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm)
|
|||
psta = pDM_Odm->pODM_StaInfo[i];
|
||||
if (IS_STA_VALID(psta) &&
|
||||
(psta->state & WIFI_ASOC_STATE) &&
|
||||
!_rtw_memcmp(psta->hwaddr, bcast_addr, ETH_ALEN) &&
|
||||
!_rtw_memcmp(psta->hwaddr, myid(&Adapter->eeprompriv), ETH_ALEN)) {
|
||||
memcmp(psta->hwaddr, bcast_addr, ETH_ALEN) &&
|
||||
memcmp(psta->hwaddr, myid(&Adapter->eeprompriv), ETH_ALEN)) {
|
||||
if (psta->rssi_stat.UndecoratedSmoothedPWDB < tmpEntryMinPWDB)
|
||||
tmpEntryMinPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue