Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ath9k_htc: Fix ethtool reporting

Pass the correct module name and device interface so that
ethtool can display the proper values.

The firmware version will be fixed later on when the FW
can actually report a version. :)

Reported-by: Richard Farina <sidhayn@gmail.com>
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Tested-by: Richard Farina <sidhayn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Sujith Manoharan and committed by
John W. Linville
50f68712 5882da02

+2 -2
+2 -2
drivers/net/wireless/ath/ath9k/hif_usb.c
··· 1040 1040 } 1041 1041 1042 1042 ret = ath9k_htc_hw_init(hif_dev->htc_handle, 1043 - &hif_dev->udev->dev, hif_dev->device_id, 1043 + &interface->dev, hif_dev->device_id, 1044 1044 hif_dev->udev->product, id->driver_info); 1045 1045 if (ret) { 1046 1046 ret = -EINVAL; ··· 1158 1158 #endif 1159 1159 1160 1160 static struct usb_driver ath9k_hif_usb_driver = { 1161 - .name = "ath9k_hif_usb", 1161 + .name = KBUILD_MODNAME, 1162 1162 .probe = ath9k_hif_usb_probe, 1163 1163 .disconnect = ath9k_hif_usb_disconnect, 1164 1164 #ifdef CONFIG_PM