diff options
author | Luis R. Rodriguez | 2010-11-22 15:26:06 -0600 |
---|---|---|
committer | Luis R. Rodriguez | 2010-11-22 15:26:06 -0600 |
commit | d70fb8094860a65106f57b514096a50e6173bd1c (patch) | |
tree | 56be6c4c198665b391793c11a9153459999fafd6 /crap | |
parent | 0d137b30f8c101d44fc0af026d4ce4826a0493e9 (diff) | |
download | compat-wireless-d70fb8094860a65106f57b514096a50e6173bd1c.tar.gz compat-wireless-d70fb8094860a65106f57b514096a50e6173bd1c.tar.xz compat-wireless-d70fb8094860a65106f57b514096a50e6173bd1c.zip |
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Diffstat (limited to 'crap')
-rw-r--r-- | crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch | 6 | ||||
-rw-r--r-- | crap/0002-ath9k-Add-pktlog-support.patch | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch b/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch index 7d55d3a..a99f60d 100644 --- a/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch +++ b/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch | |||
@@ -42,7 +42,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
42 | #ifdef CONFIG_ATH_DEBUG | 42 | #ifdef CONFIG_ATH_DEBUG |
43 | 43 | ||
44 | static ssize_t read_file_debug(struct file *file, char __user *user_buf, | 44 | static ssize_t read_file_debug(struct file *file, char __user *user_buf, |
45 | @@ -871,6 +885,40 @@ static const struct file_operations fops | 45 | @@ -873,6 +887,40 @@ static const struct file_operations fops |
46 | .llseek = default_llseek, | 46 | .llseek = default_llseek, |
47 | }; | 47 | }; |
48 | 48 | ||
@@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
83 | int ath9k_init_debug(struct ath_hw *ah) | 83 | int ath9k_init_debug(struct ath_hw *ah) |
84 | { | 84 | { |
85 | struct ath_common *common = ath9k_hw_common(ah); | 85 | struct ath_common *common = ath9k_hw_common(ah); |
86 | @@ -931,6 +979,11 @@ int ath9k_init_debug(struct ath_hw *ah) | 86 | @@ -933,6 +981,11 @@ int ath9k_init_debug(struct ath_hw *ah) |
87 | goto err; | 87 | goto err; |
88 | 88 | ||
89 | sc->debug.regidx = 0; | 89 | sc->debug.regidx = 0; |
@@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
95 | return 0; | 95 | return 0; |
96 | err: | 96 | err: |
97 | ath9k_exit_debug(ah); | 97 | ath9k_exit_debug(ah); |
98 | @@ -942,6 +995,7 @@ void ath9k_exit_debug(struct ath_hw *ah) | 98 | @@ -944,6 +997,7 @@ void ath9k_exit_debug(struct ath_hw *ah) |
99 | struct ath_common *common = ath9k_hw_common(ah); | 99 | struct ath_common *common = ath9k_hw_common(ah); |
100 | struct ath_softc *sc = (struct ath_softc *) common->priv; | 100 | struct ath_softc *sc = (struct ath_softc *) common->priv; |
101 | 101 | ||
diff --git a/crap/0002-ath9k-Add-pktlog-support.patch b/crap/0002-ath9k-Add-pktlog-support.patch index 775be74..eea9434 100644 --- a/crap/0002-ath9k-Add-pktlog-support.patch +++ b/crap/0002-ath9k-Add-pktlog-support.patch | |||
@@ -161,7 +161,7 @@ Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> | |||
161 | static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds, | 161 | static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds, |
162 | --- a/drivers/net/wireless/ath/ath9k/hw.c | 162 | --- a/drivers/net/wireless/ath/ath9k/hw.c |
163 | +++ b/drivers/net/wireless/ath/ath9k/hw.c | 163 | +++ b/drivers/net/wireless/ath/ath9k/hw.c |
164 | @@ -2143,7 +2143,7 @@ void ath9k_hw_setrxfilter(struct ath_hw | 164 | @@ -2139,7 +2139,7 @@ void ath9k_hw_setrxfilter(struct ath_hw |
165 | phybits |= AR_PHY_ERR_RADAR; | 165 | phybits |= AR_PHY_ERR_RADAR; |
166 | if (bits & ATH9K_RX_FILTER_PHYERR) | 166 | if (bits & ATH9K_RX_FILTER_PHYERR) |
167 | phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING; | 167 | phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING; |