wil6210: unmask RX_HTRSH interrupt only when connected
authorMaya Erez <qca_merez@qca.qualcomm.com>
Tue, 26 Apr 2016 11:41:40 +0000 (14:41 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Apr 2016 11:57:45 +0000 (14:57 +0300)
commit54eaa8c69e72dca4c824cd390b616cb48b2c4e30
treefe5a9a2d30442a30ccac16c23db2e9d75755ccf3
parentd8ed043accdee611bce8be7c4224b4e26bdc2ab5
wil6210: unmask RX_HTRSH interrupt only when connected

RX_HTRSH interrupt sometimes triggered during device reset
procedure.
To prevent handling this interrupt when not required, unmask
this interrupt only if we are connected and mask it when
disconnected.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/main.c