Skip to content

Commit

Permalink
rtw89: Update for new module layout
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <[email protected]>
  • Loading branch information
lwfinger committed Mar 21, 2022
1 parent 4b485e3 commit ff422f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ else
endif
@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89core.ko
@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89pci.ko
@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852a.ko
@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852ae.ko

sign-install: all sign install

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Reboot then retry from the step make sign-install

##### How to unload/reload a Kernel module
```bash
sudo modprobe -rv rtw89pci #This unloads the module
sudo modprobe -v rtw89pci #This loads the module
sudo modprobe -rv rtw_8852ae #This unloads the module
sudo modprobe -v rtw_8852ae #This loads the module
```

##### Problem with recovery after sleep or hibernation
Expand Down
4 changes: 2 additions & 2 deletions suspend_rtw89
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
if [ "${1}" == "pre" ]; then
modprobe -rv rtw89pci
modprobe -rv rtw_8852ae
elif [ "${1}" == "post" ]; then
modprobe -v rtw89pci
modprobe -v rtw_8852ae
fi

0 comments on commit ff422f1

Please sign in to comment.