projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt2x00: fix a crash in the recent update (#14467)
[openwrt.git]
/
package
/
kernel
/
mac80211
/
patches
/
607-rt2x00-allow_disabling_bands_through_platform_data.patch
diff --git
a/package/kernel/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
b/package/kernel/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
index
d9820be
..
acf35ea
100644
(file)
--- a/
package/kernel/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
+++ b/
package/kernel/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
@@
-12,7
+12,7
@@
#endif /* _RT2X00_PLATFORM_H */
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
#endif /* _RT2X00_PLATFORM_H */
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
-@@ -93
8,6 +938
,22 @@ static int rt2x00lib_probe_hw_modes(stru
+@@ -93
9,6 +939
,22 @@ static int rt2x00lib_probe_hw_modes(stru
unsigned int num_rates;
unsigned int i;
unsigned int num_rates;
unsigned int i;
@@
-37,7
+37,7
@@
num_rates += 4;
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
num_rates += 4;
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
-@@ -4
15,6 +41
5,7 @@ struct hw_mode_spec {
+@@ -4
05,6 +40
5,7 @@ struct hw_mode_spec {
unsigned int supported_bands;
#define SUPPORT_BAND_2GHZ 0x00000001
#define SUPPORT_BAND_5GHZ 0x00000002
unsigned int supported_bands;
#define SUPPORT_BAND_2GHZ 0x00000001
#define SUPPORT_BAND_5GHZ 0x00000002