summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/531-ath9k_suppress_bogus_error_message.patch
diff options
context:
space:
mode:
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 000000000..620060290
--- /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);