usb: gadget: Allow MBIM to queue packets before QBI is ready

A race condition between USB enumeration and QBI boot could
sometimes results in mbim packets lost. If USB enumeration
is finished before QBI opens the interface with the USB driver
then each MBIM packet received from the host before the interface
is opend would be dropped.
This change fix this issue so that the packets are queued and
are sent to QBI when its ready.

Change-Id: I9acf271c9a43a0cfa8bab9e97aac32c508fc6d6e
CRs-Fixed: 488231
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
1 file changed