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 fa35b99b42 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 <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-02-14 16:21:58 +00:00
parent 945d6ed650
commit f5ae110db4

View File

@ -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