ath6kl: remove incorrect reset_resume handler
commitaa292fa4093d7afab513fee77e3f78229968b931
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 31 Oct 2014 00:45:37 +0000 (31 02:45 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 3 Nov 2014 22:59:05 +0000 (4 00:59 +0200)
tree480cf95acaab30a9d6d5f705de91f935ecf69884
parent7962b0d898accdc683955af495528d4d6d24e0b3
ath6kl: remove incorrect reset_resume handler

Existing implementation of reset_resume handler just calls
ath6kl_usb_remove() that deallocates all resources.
It can lead to double free, etc. on disconnect.

The patch removes reset_resume handler,
so usb core could conservatively reset the driver.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/usb.c