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

Commit f35405cf authored by Ravit Katzav's avatar Ravit Katzav
Browse files

msm: ipa: Bug fix in ipa_assign_policy



Fix the condition in "if statement".The configuration is done for all
client types(without the correct verification of client type).
Added a fix to the client type check.

Change-Id: I57c17fd495c8e38928dc3e6d2fd862758beac0a9
Signed-off-by: default avatarRavit Katzav <rkatzav@codeaurora.org>
parent 1acf35fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1892,7 +1892,7 @@ static int ipa_assign_policy(struct ipa_sys_connect_params *in,
			sys->sps_option = (SPS_O_AUTO_ENABLE | SPS_O_EOT);
			sys->sps_callback = ipa_sps_irq_rx_no_aggr_notify;
			if (in->client == IPA_CLIENT_APPS_LAN_CONS ||
					IPA_CLIENT_APPS_WAN_CONS) {
			    in->client == IPA_CLIENT_APPS_WAN_CONS) {
				INIT_DELAYED_WORK(&sys->replenish_rx_work,
						replenish_rx_work_func);
				sys->rx_buff_sz = IPA_LAN_RX_BUFF_SZ;