From f5ae110db4f32349d42d8f9ac4433f998bb7b007 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 14 Feb 2020 16:21:58 +0000 Subject: [PATCH] Makefile: keep the old driver name A bug exists in this driver that deadlocks the kernel when a net interface managed by this driver is deleted. iwd uses the driver name (specifically, if the driver name is "rtl88*") to figure out if it needs to enable a workaround for this problem. Commit fa35b99b425bc93ed712bd7c73e0701df0d46d3e changed driver name to "88XXau" for seemingly no reason, causing this driver to be unusable for a lot of users. This commit changes the driver name back. Signed-off-by: Yuxuan Shui --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ca2e2af..6987a51 100755 --- a/Makefile +++ b/Makefile @@ -179,7 +179,7 @@ endif ifeq ($(CONFIG_RTL8812A)_$(CONFIG_RTL8821A)_$(CONFIG_RTL8814A), y_y_y) -EXTRA_CFLAGS += -DDRV_NAME=\"88XXau\" +EXTRA_CFLAGS += -DDRV_NAME=\"rtl88XXau\" ifeq ($(CONFIG_USB_HCI), y) USER_MODULE_NAME = 88XXau endif