USB: Sierra: fix oops upon device close
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 7 Jul 2009 13:50:14 +0000 (09:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 12 Jul 2009 22:16:40 +0000 (15:16 -0700)
commit7bae0a070db4bc2761dd9515f450cdfa3f3f248c
treef4a90527a00889de6793b321d1261bd375278d7f
parentc3325eb16d36a49f9a5ae09241c418cfd1d3f4f5
USB: Sierra: fix oops upon device close

This patch (as1263) fixes a mixup that occurred when conflicting
patches for the sierra driver were merged incorrectly.  The former
sierra_shutdown routine should have been become sierra_release, not
sierra_disconnect.

The symptom this fixes is an oops when the device file is closed after
a Sierra device has been unplugged (Bugzilla #13675).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Peter Naulls <peter@mushroomnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/sierra.c