commit | 0a7bfbffbd9a94a31a4bac7e9ec29d18adc8e198 | [log] [tgz] |
---|---|---|
author | Rupesh Gujare <rupesh.gujare@atmel.com> | Thu Aug 22 17:38:48 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 22 10:15:55 2013 -0700 |
tree | b0a723662a6cc4251b41a913df4775cc4e851c50 | |
parent | acb8d4056a5351748015464b1c551fcd310014ba [diff] |
staging: ozwpan: Fix crash for race condition. Do not allocate a port to new device or process URB when its status is yet to be read. This avoids race condition when USB core read hub status a bit late, while new device tries to acquire port. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>