11 Commits

Author SHA1 Message Date
Larry Finger
1a8f8b1557 rtl8723ds: Clean up some Coverity and Smatch warnings
The includes turning CONGIG_MP_INCLUDED off.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2023-02-03 19:28:56 -06:00
John Keeping
1eca486544 rtl8723ds: fix locking for (un)register
rtnl_is_locked() checks whether the lock is currently held by any task,
not specifically by _this_ task so it is wrong to use it in the
(un)register path.

In both of these cases, examining the call stack shows that there is no
way for rtnl_lock to be taken by the task running these functions, so
remove the checks.

Further, (un)register_netdev() have existed since the beginning of Git
history so there's no reason for a version check here and we can always
call the function that takes the lock itself and should never call the
version which expects rtnl_lock to be held.
2022-11-29 18:41:01 +00:00
Larry Finger
5ab2d3f385 rtl8723ds: Fix builds for kernels through 6.1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-11-04 10:41:53 -05:00
Larry Finger
76fb80685b rtl8723ds: Fix build on kernel 5.17
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-02-05 11:47:13 -06:00
John-Eric Kamps
3e9b49353f Fix operations with kernel 5.2
See this commit: a350eccee5

Signed-off-by: John-Eric Kamps <john-eric.kamps@honeywell.com>
2019-11-04 11:07:53 +01:00
Larry Finger
3030a734d7 rtl8723ds: Update source for recent API changes
The source will now compile on kernels up to 4.20.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-29 11:43:26 -06:00
Larry Finger
3250ef8601 rtl8723ds: Fix all instances of using scaler instead of NULL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-25 15:06:06 -05:00
Larry Finger
525d5256f5 rtl8723ds: Remove CONFIG_PCI_HCI and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-17 00:11:49 -05:00
Larry Finger
c3c991544f rtl8723ds: Remove WINDOWS code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 20:43:56 -05:00
Larry Finger
27368d0b9c rtl8723ds: Fix some checkpatch warnings and change default log level
The default debug level is reduced from 4 to 2.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 16:38:46 -05:00
Larry Finger
e87533e664 rtl8723ds: Initial commit of files
This repository contains the Realtek driver V5.1.1.5_20523.20161209_BTCOEX20161208-1212.

At inclusion, the only changes from the Realtek version were to fix any compile
warnings or errors. With these changes, the driver builds on kernels through
4.11.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-04-25 10:13:42 -05:00