diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-20 15:57:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-21 16:21:36 -0500 |
commit | d7e86c3219a1287dd1350a590ee79c8753ff2420 (patch) | |
tree | dc9c33350e6dee73532fb5e3aa6f5888b7f23015 /drivers/net/wireless | |
parent | 930a7622d618cdf794787938d7cbda5461adb1cb (diff) |
ath9k: remove a bogus error message
When beacons are being added or removed for an interface, ieee80211_beacon_get
will sometimes not return a beacon. This is normal and should not result in
useless logspam.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 8de591e5b851..ab8c05cf62f3 100644 --- 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 *aphy, struct ieee80211_vif *vif) | |||
279 | 279 | ||
280 | /* NB: the beacon data buffer must be 32-bit aligned. */ | 280 | /* NB: the beacon data buffer must be 32-bit aligned. */ |
281 | skb = ieee80211_beacon_get(sc->hw, vif); | 281 | skb = ieee80211_beacon_get(sc->hw, vif); |
282 | if (skb == NULL) { | 282 | if (skb == NULL) |
283 | ath_err(common, "ieee80211_beacon_get failed\n"); | ||
284 | return -ENOMEM; | 283 | return -ENOMEM; |
285 | } | ||
286 | 284 | ||
287 | tstamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp; | 285 | tstamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp; |
288 | sc->beacon.bc_tstamp = le64_to_cpu(tstamp); | 286 | sc->beacon.bc_tstamp = le64_to_cpu(tstamp); |