From 076f9e4eaec455a1e664ba3fe1fedff1ed15d43a Mon Sep 17 00:00:00 2001 From: Federico Gimenez Molinelli <8161434+fgimenezm@users.noreply.github.com> Date: Wed, 16 Oct 2019 22:49:37 -0300 Subject: [PATCH 1/2] fix DKMS: add KVER value to make command Makefile is getting the KVER value from "uname -r" but that is not correct when building for kernels other than the running kernel. When running from DKMS we have to set KVER to ${kernelver}. --- dkms.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkms.conf b/dkms.conf index fabad8f..de82ac1 100644 --- a/dkms.conf +++ b/dkms.conf @@ -4,5 +4,5 @@ BUILT_MODULE_NAME="8188eu" DEST_MODULE_LOCATION="/kernel/drivers/net/wireless/" REMAKE_INITRD="yes" AUTOINSTALL="yes" -MAKE="'make' all" +MAKE="'make' KVER=${kernelver} all" CLEAN="'make' clean" From abb3c349f450c6822fd7a48231d1f5da780ccca0 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Molinelli <8161434+fgimenezm@users.noreply.github.com> Date: Wed, 16 Oct 2019 22:51:00 -0300 Subject: [PATCH 2/2] fix missing ',' --- os_dep/usb_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/usb_intf.c b/os_dep/usb_intf.c index c0d79bf..dcd07a5 100644 --- a/os_dep/usb_intf.c +++ b/os_dep/usb_intf.c @@ -122,7 +122,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = { {USB_DEVICE(0x2001, 0x331B), .driver_info = RTL8188E}, /* D-Link DWA-121 rev B1 */ {USB_DEVICE(0x056E, 0x4008), .driver_info = RTL8188E}, /* Elecom WDC-150SU2M */ {USB_DEVICE(0x2357, 0x010c), .driver_info = RTL8188E}, /* TP-Link TL-WN722N v2 */ - {USB_DEVICE(0x2357, 0x0111), .driver_info = RTL8188E} /* TP-Link TL-WN727N v5.21 */ + {USB_DEVICE(0x2357, 0x0111), .driver_info = RTL8188E}, /* TP-Link TL-WN727N v5.21 */ {} /* Terminating entry */ };