commit | e1757766e52926b064cd8e34e089e33cdd96406e | [log] [tgz] |
---|---|---|
author | Hemant Kumar <hemantk@codeaurora.org> | Fri Apr 13 16:53:09 2012 -0700 |
committer | Hemant Kumar <hemantk@codeaurora.org> | Mon Apr 16 10:55:15 2012 -0700 |
tree | a6fc6ad9d2f37570ef3fdb35b1dc166eecd6c44b | |
parent | d7e20e2a2de58254a9f6dd11e3e9b9622bda38c3 [diff] |
net: usb: Handle Zero length packet RMNET control driver does not handle zero length packet and passes it on as QMI command response received from mdm device to userspace. mdm device is erroneously sending zero length packet to the RMNET control driver which userspace treats as an error. Hence add a check for zero length packet and do not pass it on to userspace. Change-Id: Id18e2f6ffca1692243a3d89a25bb3ccafd7d5b89 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>