diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-03-27 11:01:06 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-28 14:25:37 -0400 |
commit | de312db345f9770b64ff39ef5a7f86f6358e93cc (patch) | |
tree | aa396764417297ff98b784e589d506f140103a6b /net/mac80211 | |
parent | a4d6367fa77fb604ce62582e1c0998e0ed098927 (diff) | |
download | op-kernel-dev-de312db345f9770b64ff39ef5a7f86f6358e93cc.zip op-kernel-dev-de312db345f9770b64ff39ef5a7f86f6358e93cc.tar.gz |
mac80211: fix oper channel timestamp updation
Whenever the station informs the AP that it is about to leave the
operating channel, the timestamp should be recorded. It is handled
in scan resume but not in scan start. Fix that.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 33cd169..c70e176 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -370,7 +370,7 @@ static int ieee80211_start_sw_scan(struct ieee80211_local *local) */ drv_sw_scan_start(local); - local->leave_oper_channel_time = 0; + local->leave_oper_channel_time = jiffies; local->next_scan_state = SCAN_DECISION; local->scan_channel_idx = 0; |