aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-ath9k_extra_leds.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-14 21:36:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-14 21:36:05 +0000
commitfe94e174e523e335b88f7eaf7aa418ef9b3a3014 (patch)
tree69ee8590792d504e08c77efdb2a1668cfe6bb97c /package/mac80211/patches/540-ath9k_extra_leds.patch
parentcf788fc7317c3e4a5bab17194c680ed5b0df39a7 (diff)
downloadupstream-fe94e174e523e335b88f7eaf7aa418ef9b3a3014.tar.gz
upstream-fe94e174e523e335b88f7eaf7aa418ef9b3a3014.tar.bz2
upstream-fe94e174e523e335b88f7eaf7aa418ef9b3a3014.zip
ath9k: fix an invalid pointer access in the tx path
SVN-Revision: 32376
Diffstat (limited to 'package/mac80211/patches/540-ath9k_extra_leds.patch')
-rw-r--r--package/mac80211/patches/540-ath9k_extra_leds.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/540-ath9k_extra_leds.patch b/package/mac80211/patches/540-ath9k_extra_leds.patch
index a34a4e1f8c..250e9cf312 100644
--- a/package/mac80211/patches/540-ath9k_extra_leds.patch
+++ b/package/mac80211/patches/540-ath9k_extra_leds.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
-@@ -507,6 +507,9 @@ static inline u16 ath9k_btcoex_aggr_limi
+@@ -508,6 +508,9 @@ static inline u16 ath9k_btcoex_aggr_limi
#ifdef CONFIG_MAC80211_LEDS
void ath_init_leds(struct ath_softc *sc);
void ath_deinit_leds(struct ath_softc *sc);
@@ -10,7 +10,7 @@
#else
static inline void ath_init_leds(struct ath_softc *sc)
{
-@@ -620,6 +623,13 @@ struct ath9k_vif_iter_data {
+@@ -621,6 +624,13 @@ struct ath9k_vif_iter_data {
int nadhocs; /* number of adhoc vifs */
};
@@ -24,7 +24,7 @@
struct ath_softc {
struct ieee80211_hw *hw;
struct device *dev;
-@@ -661,9 +671,8 @@ struct ath_softc {
+@@ -662,9 +672,8 @@ struct ath_softc {
struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS];
#ifdef CONFIG_MAC80211_LEDS