diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-08-22 22:41:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-22 10:47:34 -0800 |
commit | 2d034687a6fe3ff3c82a67ac00f38327f705f497 (patch) | |
tree | 6c1d9ac8e85ea04029a75a7c4fc5176bdebac9af /drivers/net/wireless/wl3501_cs.c | |
parent | a835be5be324ccd5c99b4f95d9f79e6ebdb63ad5 (diff) |
p54usb: fix off-by-one on !CONFIG_PM
commit 11791a6f7534906b4a01ffb54ba0b02ca39398ef upstream.
The ISL3887 chip needs a USB reset, whenever the
usb-frontend module "p54usb" is reloaded.
This patch fixes an off-by-one bug, if the user
is running a kernel without the CONFIG_PM option
set and for some reason (e.g.: compat-wireless)
wants to switch between different p54usb modules.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
0 files changed, 0 insertions, 0 deletions