diff options
| author | Martin Kaiser <[email protected]> | 2022-02-12 17:17:28 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-15 17:11:22 +0100 |
| commit | d709b5ae9a44f00a5feb010fc215be9dcf472e64 (patch) | |
| tree | a35ce67fb452d3c22383db5d63a72423bd7071dd | |
| parent | d08282a9423a09310efe61873b029e352fe335cc (diff) | |
staging: r8188eu: set path a explicitly
We've already limited the rtw_wx_write_rf function to RF_PATH_A in commit
3b011b097c38 ("staging: r8188eu: limit rf register writes to path a").
Set RF_PATH_A explicitly when we call rtl8188e_PHY_SetRFReg. This will
make it easier later to verify that all callers of rtl8188e_PHY_SetRFReg
use path a.
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c index c41d75666568..8c49df724461 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -2088,7 +2088,7 @@ static int rtw_wx_write_rf(struct net_device *dev, addr = *((u32 *)extra + 1); data32 = *((u32 *)extra + 2); - rtl8188e_PHY_SetRFReg(padapter, path, addr, 0xFFFFF, data32); + rtl8188e_PHY_SetRFReg(padapter, RF_PATH_A, addr, 0xFFFFF, data32); return 0; } |