projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: Virtual wiphy pause/unpause functionality
[deliverable/linux.git]
/
drivers
/
net
/
wireless
/
ath9k
/
beacon.c
diff --git
a/drivers/net/wireless/ath9k/beacon.c
b/drivers/net/wireless/ath9k/beacon.c
index 760f5b80f79e4bc0c31d6f24b70b3f7c4ced1d28..039c78136c50e2b2de7b884412bb8ac7701803f7 100644
(file)
--- a/
drivers/net/wireless/ath9k/beacon.c
+++ b/
drivers/net/wireless/ath9k/beacon.c
@@
-125,6
+125,9
@@
static struct ath_buf *ath_beacon_generate(struct ieee80211_hw *hw,
struct ieee80211_tx_info *info;
int cabq_depth;
+ if (aphy->state != ATH_WIPHY_ACTIVE)
+ return NULL;
+
avp = (void *)vif->drv_priv;
cabq = sc->beacon.cabq;
This page took
0.035949 seconds
and
5
git commands to generate.