mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: add a few tx related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25054 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user