]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/rtl8812au/enable_usbmodeswitch.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / src / patches / rtl8812au / enable_usbmodeswitch.patch
1 diff -Naur a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
2 --- a/os_dep/linux/os_intfs.c 2021-05-21 22:58:44.000000000 +0200
3 +++ b/os_dep/linux/os_intfs.c 2021-05-28 13:41:27.362529583 +0200
4 @@ -324,7 +324,7 @@
5 int rtw_single_ant_path; /*0:main ant , 1:aux ant , Fixed single antenna path, default main ant*/
6
7 /* 0: doesn't switch, 1: switch from usb2.0 to usb 3.0 2: switch from usb3.0 to usb 2.0 */
8 -int rtw_switch_usb_mode = 0;
9 +int rtw_switch_usb_mode = 1;
10
11 #ifdef CONFIG_USB_AUTOSUSPEND
12 int rtw_enusbss = 1;/* 0:disable,1:enable */