mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +00:00
rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
This one is always equal to RF_PATH_MAX. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
379691b761
commit
f9dbfb74dc
4 changed files with 9 additions and 11 deletions
|
@ -138,7 +138,7 @@ int rtl8188eu_oid_rt_pro_write_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
pbbreg = (struct rf_reg_param *)(poid_par_priv->information_buf);
|
||||
|
||||
if (pbbreg->path >= MAX_RF_PATH_NUMS)
|
||||
if (pbbreg->path >= RF_PATH_MAX)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
if (pbbreg->offset > 0xFF)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
@ -179,7 +179,7 @@ int rtl8188eu_oid_rt_pro_read_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
pbbreg = (struct rf_reg_param *)(poid_par_priv->information_buf);
|
||||
|
||||
if (pbbreg->path >= MAX_RF_PATH_NUMS)
|
||||
if (pbbreg->path >= RF_PATH_MAX)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
if (pbbreg->offset > 0xFF)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue