net: qrtr: Loop on mhi_dev_read_channel until it returns 0
qrtr_mhi_dev_event_cb will be called only once if there is
more than one packet at that time. Hence, call mhi_dev_read_channel
in a loop until it returns zero.
Change-Id: I2f171cb45e66c1c439fcc7d0027c22d0edb4fb19
Signed-off-by:
Jay Jayanna <jayanna@codeaurora.org>
Loading
Please register or sign in to comment