summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2014-06-11 14:48:05 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 23:49:19 +0400
commitea6ff2de5c56f6b0c08717f6cc47281b52504e81 (patch)
treee7428391d5f4cbbdc310a073001bc2ad772b8c17 /drivers/net/wireless/ath/ath9k/ath9k.h
parent748299f27b21c23ba963df4768abb2344fe6e9a7 (diff)
downloadlinux-ea6ff2de5c56f6b0c08717f6cc47281b52504e81.tar.xz
ath9k: Store current offchannel duration
Update current offchannel duration during scan or roc request. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index b657115d1eb7..6487c4769af4 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -385,6 +385,7 @@ struct ath_offchannel {
struct ieee80211_channel *roc_chan;
struct ieee80211_vif *roc_vif;
int roc_duration;
+ int duration;
};
#define ath_for_each_chanctx(_sc, _ctx) \
for (ctx = &sc->chanctx[0]; \