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

Commit e3ce91bb authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa3: Reduced excessive logs from ipa3 function



Currently watchdog bark issue occurs due to excessive logging from ipa.
Ratelimit functions are added inorder to reduce the logs.

Change-Id: I4b1f262570d1d15111018c632c37c799a67dbf6d
Acked-by: default avatarPraveen Kurapati <pkurapat@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent bdd918fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1705,7 +1705,7 @@ static int ipa3_wwan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
			if (rmnet_ipa3_ctx->num_q6_rules != 0) {
				mux_mutex_ptr =
					&rmnet_ipa3_ctx->add_mux_channel_lock;
				IPAWANERR("dev(%s) register to IPA\n",
				IPAWANERR_RL("dev(%s) register to IPA\n",
					v_name);
				rc = ipa3_wwan_register_to_ipa(
						rmnet_ipa3_ctx->rmnet_index);
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ static long ipa3_wan_ioctl(struct file *filp,
			IPAWANDBG("Still allow IOCTL for exceptions (%d)\n",
				cmd);
		} else {
			IPAWANERR("Modem is in SSR, ignoring ioctl (%d)\n",
			IPAWANERR_RL("Modem is in SSR, ignoring ioctl (%d)\n",
				cmd);
			return -EAGAIN;
		}