mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
rtsx: Call rtsx_init() on resume.
Approved by: re (gjb) (cherry picked from commit1b1bab0078) (cherry picked from commit205fa5f0a5)
This commit is contained in:
parent
26714a5fa2
commit
bbf3b7bdf8
1 changed files with 3 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ struct rtsx_softc {
|
|||
#define RTSX_RTL8411 0x5289
|
||||
#define RTSX_RTL8411B 0x5287
|
||||
|
||||
#define RTSX_VERSION "2.1d"
|
||||
#define RTSX_VERSION "2.1e"
|
||||
|
||||
static const struct rtsx_device {
|
||||
uint16_t vendor_id;
|
||||
|
|
@ -3822,6 +3822,8 @@ rtsx_resume(device_t dev)
|
|||
{
|
||||
device_printf(dev, "Resume\n");
|
||||
|
||||
rtsx_init(device_get_softc(dev));
|
||||
|
||||
bus_generic_resume(dev);
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue