summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-20 23:35:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-20 23:35:26 +0000
commit86a9bbe4ba81a5e6f9bd0bcad2e26113e7c87251 (patch)
treeddc48581eab19dfd9735a98a12389f8efb02800d /package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch
parent4ee2365159df178ea0729f8fc508c36b68da6618 (diff)
downloadmaster-31e0f0ae-86a9bbe4ba81a5e6f9bd0bcad2e26113e7c87251.tar.gz
master-31e0f0ae-86a9bbe4ba81a5e6f9bd0bcad2e26113e7c87251.tar.bz2
master-31e0f0ae-86a9bbe4ba81a5e6f9bd0bcad2e26113e7c87251.zip
mac80211: add a few tx related fixes
SVN-Revision: 25054
Diffstat (limited to 'package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch')
-rw-r--r--package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch b/package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch
new file mode 100644
index 0000000000..6200602907
--- /dev/null
+++ b/package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/wireless/ath/ath9k/beacon.c
++++ b/drivers/net/wireless/ath/ath9k/beacon.c
+@@ -279,10 +279,8 @@ int ath_beacon_alloc(struct ath_wiphy *a
+
+ /* NB: the beacon data buffer must be 32-bit aligned. */
+ skb = ieee80211_beacon_get(sc->hw, vif);
+- if (skb == NULL) {
+- ath_err(common, "ieee80211_beacon_get failed\n");
++ if (skb == NULL)
+ return -ENOMEM;
+- }
+
+ tstamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp;
+ sc->beacon.bc_tstamp = le64_to_cpu(tstamp);