Skip to content
Snippets Groups Projects

patches/openwrt: kernel: mwifiex: fix memory corruption

Merged Josef Schlehofer requested to merge hotfix/mwifiex-backport-patch into hbk
Files
3
From d2b93389c7393cc79502ad6b8f715ff0a49f4c70 Mon Sep 17 00:00:00 2001
From fdaec362fea3f1520a81e6ca1f124714a2bbf158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Wed, 27 May 2020 11:37:13 +0200
Subject: [PATCH] hostapd: restart network on wpad install
@@ -12,14 +12,14 @@ version. That also fixes problem with broken WiFi on that reload.
1 file changed, 11 insertions(+)
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 35ce85b..f517aed 100644
index 35ce85b..3998a47 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -591,6 +591,17 @@ ifeq ($(BUILD_VARIANT),supplicant-full-wolfssl)
endef
endif
+define Package/wpad/posinst
+define Package/wpad/postinst
+#!/bin/sh
+[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/network restart
+endef