mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 08:44:52 +00:00
qca-nss-drv: allow mac80211 to disable signal redirection
Added from brainslayer's patch here: https://svn.dd-wrt.com/changeset/56322 Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
5700922738
commit
a4d36065f6
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qca-nss-drv
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
--- a/nss_virt_if.c
|
||||
+++ b/nss_virt_if.c
|
||||
@@ -450,6 +450,8 @@ EXPORT_SYMBOL(nss_virt_if_create_sync_ne
|
||||
*/
|
||||
struct nss_virt_if_handle *nss_virt_if_create_sync(struct net_device *netdev)
|
||||
{
|
||||
+ if (!nss_ctl_redirect)
|
||||
+ return NULL;
|
||||
/*
|
||||
* NSS_N2H_INTERFACE is the nexthop of the dynamic interface which is created for handling the
|
||||
* n2h traffic.
|
||||
@ -0,0 +1,11 @@
|
||||
--- a/nss_virt_if.c
|
||||
+++ b/nss_virt_if.c
|
||||
@@ -450,6 +450,8 @@ EXPORT_SYMBOL(nss_virt_if_create_sync_ne
|
||||
*/
|
||||
struct nss_virt_if_handle *nss_virt_if_create_sync(struct net_device *netdev)
|
||||
{
|
||||
+ if (!nss_ctl_redirect)
|
||||
+ return NULL;
|
||||
/*
|
||||
* NSS_N2H_INTERFACE is the nexthop of the dynamic interface which is created for handling the
|
||||
* n2h traffic.
|
||||
Loading…
Reference in New Issue
Block a user