diff --git a/rtl8723bs.spec b/rtl8723bs.spec index 66c8f03..df4f7c3 100644 --- a/rtl8723bs.spec +++ b/rtl8723bs.spec @@ -1,6 +1,6 @@ Name: rtl8723bs Version: 20161026git -Release: 2mamba +Release: 3mamba Summary: Realtek SDIO Wi-Fi driver Group: System/Kernel and Hardware Vendor: openmamba @@ -59,6 +59,12 @@ REMAKE_INITRD=no AUTOINSTALL=yes _EOF +install -d -m0755 %{buildroot}%{_sysconfdir}/NetworkManager/conf.d +cat > %{buildroot}%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf << _EOF +[device] +wifi.scan-rand-mac-address=no +_EOF + %check for d in /lib/modules/4.*/build; do kver=`echo $d|sed "s|/lib/modules/\(.*\)/build.*|\1|"` @@ -90,11 +96,15 @@ fi %files %defattr(-,root,root) +%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf %dir %{_prefix}/src/%{name}-%{version} %{_prefix}/src/%{name}-%{version}/* /lib/firmware/rtlwifi/rtl8723bs_*.bin %changelog +* Thu Mar 02 2017 Silvan Calarco 20161026git-3mamba +- disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr + * Tue Jan 31 2017 Silvan Calarco 20161026git-2mamba - install firmware files in /lib/firwmare/rtlwifi