commit | e8179789dc62ab659ca2f48073f2b2ad116ff152 | [log] [tgz] |
---|---|---|
author | Mayank Rana <mrana@codeaurora.org> | Fri Feb 15 14:55:30 2013 +0530 |
committer | Mayank Rana <mrana@codeaurora.org> | Tue Feb 19 10:22:18 2013 +0530 |
tree | c9a9ba512819b0a03ddaf5c1cf10ccfc41c69e00 | |
parent | acc7f6d28cc5b89dcfc307af37a392766aa201ff [diff] |
usb: gadget: u_ether: Fix NULL pointer dereference crash port->port_usb can be NULL if USB cable is disconnected when net device is trying to transfer data which is causing device to crash. Hence add changes to eliminate need of accessing port->port_usb to see multi_xfer_pkt value. CRs-Fixed: 452642 Change-Id: Ia28399b896ec1e069abeee8fe477826de6bb5942 Signed-off-by: Mayank Rana <mrana@codeaurora.org>