The gadget level completion function was getting called for the ACK packet instead of the data packet, making it impossible to read the data from the host. Signed-off-by: Mike Lockwood <lockwood@android.com>
Completely breaks compatibility with HTC Sense, but is needed for Android 2.3. References: https://github.com/CyanogenMod/htc-kernel-msm7x30/commit/3362439a1df2aa7e900dd825bde0670ded7d0cc3 https://github.com/CyanogenMod/htc-kernel-msm7x30/commit/03c08c01c60b4220158c484127ba5b9aa9d67c81 https://github.com/android/kernel_msm/commit/3fa64c7f7fc44d88bfbb6cb925882017850c0c69
This reverts commit bcd275a3ef.
bcd275a3ef