From 61686ba251c910920ee2566944596d5bd2eb945e Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Tue, 23 Jan 2024 23:42:25 +0400 Subject: [PATCH] rtl8812au: fix build by bumping to unstable-2024-01-19 The build failure: /build/source/os_dep/linux/ioctl_cfg80211.c:10473:26: error: initialization of 'int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)' from incompatible pointer type 'int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] 10473 | .change_beacon = cfg80211_rtw_change_beacon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/os_dep/linux/ioctl_cfg80211.c:10473:26: note: (near initialization for 'rtw_cfg80211_ops.change_beacon') --- pkgs/os-specific/linux/rtl8812au/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/rtl8812au/default.nix b/pkgs/os-specific/linux/rtl8812au/default.nix index adc197a1166e..ed330fc24637 100644 --- a/pkgs/os-specific/linux/rtl8812au/default.nix +++ b/pkgs/os-specific/linux/rtl8812au/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation { pname = "rtl8812au"; - version = "${kernel.version}-unstable-2023-07-22"; + version = "${kernel.version}-unstable-2024-01-19"; src = fetchFromGitHub { owner = "morrownr"; repo = "8812au-20210629"; - rev = "b5f4e6e894eca8fea38661e2fc22a2570e0274ad"; - hash = "sha256-3uPowesJVh/cnagMz/Uadb+U5rDUAWfU39tZaDNCoqg="; + rev = "3b921c0beda8583c1d2d1b0b7e4692d11e7ea772"; + hash = "sha256-Ji61Y23uGSTyj3Z5ia9iev5rVzSOv7XY/IfAClhz7Q8="; }; nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies;