aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-17 22:41:18 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-01-18 07:49:52 +0100
commit9200e168f25e94a4b514f581e2e1f49048caa82f (patch)
tree1159945118be1892118bf9d44ac096985e59fcad /package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch
parenta68b1b9c8a4ca4f07494810e574172cbbfae2c87 (diff)
downloadupstream-9200e168f25e94a4b514f581e2e1f49048caa82f.tar.gz
upstream-9200e168f25e94a4b514f581e2e1f49048caa82f.tar.bz2
upstream-9200e168f25e94a4b514f581e2e1f49048caa82f.zip
mac80211: move (& update) upstream accepted brcmfmac patches
These 3 patches are now in wireless-drivers-next tree. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch')
-rw-r--r--package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch b/package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch
deleted file mode 100644
index 4d2c4b03ea..0000000000
--- a/package/kernel/mac80211/patches/841-brcmfmac-don-t-preset-all-channels-as-disabled.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Sat, 7 Jan 2017 21:36:04 +0100
-Subject: [PATCH] brcmfmac: don't preset all channels as disabled
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-During init we take care of regulatory stuff by disabling all
-unavailable channels (see brcmf_construct_chaninfo) so this predisabling
-them is not really required (and this patch won't change any behavior).
-It will on the other hand allow more detailed runtime control over
-channels which is the main reason for this change.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
----
-
---- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
-+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
-@@ -147,7 +147,6 @@ static struct ieee80211_rate __wl_rates[
- .band = NL80211_BAND_2GHZ, \
- .center_freq = (_freq), \
- .hw_value = (_channel), \
-- .flags = IEEE80211_CHAN_DISABLED, \
- .max_antenna_gain = 0, \
- .max_power = 30, \
- }
-@@ -156,7 +155,6 @@ static struct ieee80211_rate __wl_rates[
- .band = NL80211_BAND_5GHZ, \
- .center_freq = 5000 + (5 * (_channel)), \
- .hw_value = (_channel), \
-- .flags = IEEE80211_CHAN_DISABLED, \
- .max_antenna_gain = 0, \
- .max_power = 30, \
- }