summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-03-12 19:59:12 -0500
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-05-31 05:57:45 -0700
commita685399716e6e8950cccb3a3495543035d0d1691 (patch)
tree7e96c8cf9968bb16d43e15220f09e27dbe37deaf /include/linux/stackprotector.h
parentbd33a5c6bd43b2269fc6113bfdb1680ad5b5a1e2 (diff)
USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL
Clearing strings on disconnect does not work since we may receive a disconnect on some devices when transitioning into accessory mode. We require an accessory to send ACCESSORY_GET_PROTOCOL before sending any strings, so any strings from a previous session will be cleared. Signed-off-by: Mike Lockwood <lockwood@android.com> (cherry picked from commit 30e18b848c25d4a90e3b6282cd32e19a2f0cd4dc) Change-Id: I4c7575508fba294cfe1ce86148ed6c09f98cc03c Reviewed-on: http://git-master/r/32889 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions