mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 09:26:48 +02:00
44c11a9bf7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25054 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
491 B
Diff
15 lines
491 B
Diff
--- 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);
|