Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2fda1f6 authored by Avinash Patil's avatar Avinash Patil Committed by John W. Linville
Browse files

mwifiex: do not enable PCIe interrupt in Power Save sleep state



Enabling PCIe host interrupt may accidently wake up the card
when it's in sleep.

Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 50455cac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2111,6 +2111,7 @@ static int mwifiex_process_int_status(struct mwifiex_adapter *adapter)
	}
	dev_dbg(adapter->dev, "info: cmd_sent=%d data_sent=%d\n",
		adapter->cmd_sent, adapter->data_sent);
	if (adapter->ps_state != PS_STATE_SLEEP)
		mwifiex_pcie_enable_host_int(adapter);

	return 0;