summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-06 18:41:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-06 18:41:17 +0000
commitba94a9309a3334b1c70a14cabf52ca6e809a1081 (patch)
treed0c349a10c741b065b45dfaf8ebe166d3ceec9e1
parent67c428a9f689e1ac2f88f3d94559be0a0d61b441 (diff)
downloadmtk-20170518-ba94a9309a3334b1c70a14cabf52ca6e809a1081.zip
mtk-20170518-ba94a9309a3334b1c70a14cabf52ca6e809a1081.tar.gz
mtk-20170518-ba94a9309a3334b1c70a14cabf52ca6e809a1081.tar.bz2
mac80211: add missing patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46201
-rw-r--r--package/kernel/mac80211/patches/600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch b/package/kernel/mac80211/patches/600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch
index 064454b..15863a6 100644
--- a/package/kernel/mac80211/patches/600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch
+++ b/package/kernel/mac80211/patches/600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch
@@ -43,3 +43,24 @@ Changes since v1: ---
struct rt2800_ops {
void (*register_read)(struct rt2x00_dev *rt2x00dev,
const unsigned int offset, u32 *value);
+--- a/drivers/net/wireless/rt2x00/rt2800.h
++++ b/drivers/net/wireless/rt2x00/rt2800.h
+@@ -2969,18 +2969,4 @@ enum rt2800_eeprom_word {
+ #define WCID_END 222
+ #define STA_IDS_SIZE (WCID_END - WCID_START + 2)
+
+-/*
+- * RT2800 driver data structure
+- */
+-struct rt2800_drv_data {
+- u8 calibration_bw20;
+- u8 calibration_bw40;
+- u8 bbp25;
+- u8 bbp26;
+- u8 txmixer_gain_24g;
+- u8 txmixer_gain_5g;
+- unsigned int tbtt_tick;
+- DECLARE_BITMAP(sta_ids, STA_IDS_SIZE);
+-};
+-
+ #endif /* RT2800_H */