usb: core: Amend initial authorized_default value
authorNiko Mauno <niko.mauno@vaisala.com>
Fri, 5 Jan 2024 11:49:55 +0000 (13:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 01:35:49 +0000 (17:35 -0800)
commitaa6e11e9a792997a183d3b6936b01601233c570d
tree50a903bd5d4966209bb5f4268312682cc5584ea4
parentc63fe1cc70933ca667d834a8d836162d3bfc7b0a
usb: core: Amend initial authorized_default value

Since the wireless USB implementation has been removed and since the
behavior with authorized_default values -1 and 1 is now effectively
same, change the initial value to latter in order to stop using the
leftover value. The former value can still be passed as a module
parameter to retain backwards compatibility.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Link: https://lore.kernel.org/r/20240105114956.30714-1-niko.mauno@vaisala.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c