Search Linux Wireless

[PATCH v2] wifi: rt2x00: don't overwrite SoC specific bbp init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SoCs rt305x have the same MAC version but SoC specific bbp init function
called above already. So don't overwrite SoC specific bbp init results.
When changing SoC bbp init I break my head before undestanding why
results were overwritten.

Signed-off-by: Serge Vasilugin <vasilugin@xxxxxxxxx>
---
v2 more complete explain in message

--- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
@@ -7257,7 +7257,8 @@ static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev)
 	case RT2860:
 	case RT2872:
 	case RT2883:
-		rt2800_init_bbp_28xx(rt2x00dev);
+		if (!rt2800_is_305x_soc(rt2x00dev))
+		    rt2800_init_bbp_28xx(rt2x00dev);
 		break;
 	case RT3070:
 	case RT3071:
--




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux