ath10k: fix hw roc expiration notifcation
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 9 Jul 2015 11:08:36 +0000 (13:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 11 Jul 2015 16:06:22 +0000 (19:06 +0300)
commitd710e75d1050cb66fbf6e906addb4a661e444729
tree835a78e3b5daac1d57763ff69d7a80590a92d379
parent424f26301467daf241a4afe4b6fe82750d4ac624
ath10k: fix hw roc expiration notifcation

The expiration function must not be called when
roc is explicitly cancelled by mac80211. However
since fcf9844636be ("ath10k: fix hw roc
expiration") the notification was never sent when
roc actually expired.

This fixes some P2P connection setup issues.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c