ath9k: Assign offchannel duration properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 10 Sep 2014 13:45:56 +0000 (19:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2014 19:27:39 +0000 (15:27 -0400)
commitcbc775db2e17cc24a9d3b2f14570ec7c1e0923af
treeed55c3ae814f52ddcccb5c5dc429bf8110e24c85
parent867fa0d49c8f5d3fd5e0138a754321ffa04903aa
ath9k: Assign offchannel duration properly

In multi-channel mode, an offchannel request will
be deferred if both contexts are active. The duration
of the offchannel operation is calculated but is
not stored in the scheduler state. Fix this.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/channel.c