[FS#918] Kernel panic: rt2800lib.ko rt2800_probe_hw

LEDE Bugs lede-bugs at lists.infradead.org
Wed Jul 19 16:00:56 PDT 2017


The following task has a new comment added:

FS#918 - Kernel panic: rt2800lib.ko rt2800_probe_hw
User who did this - Henk Vergonet (hvegh)

----------
Applied patch to: 
build_dir/target-mips_mips32_musl/linux-brcm63xx_smp/compat-wireless-2017-01-31/drivers/net/wireless/ralink/rt2x00

--- rt2800lib.c.orig
+++ rt2800lib.c
@@ -2065,6 +2065,9 @@
 
 static inline bool rt2800_clk_is_20mhz(struct rt2x00_dev *rt2x00dev)
 {
+	if (!rt2x00dev->clk)
+		return 0;
+
 	return clk_get_rate(rt2x00dev->clk) == 20000000;
 }

And it works...
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=918#comment3017



More information about the lede-bugs mailing list