diff options
Diffstat (limited to 'recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch')
-rw-r--r-- | recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch b/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch new file mode 100644 index 0000000..5615c78 --- /dev/null +++ b/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch @@ -0,0 +1,26 @@ +rs9116 rsi-91x linux driver fails to compile in Station + AP mode + +Silicon labs patch from case 00297277 + +https://community.silabs.com/5008Y000024DTst +================================================== +diff --git a/rsi_91x_per.c b/rsi_91x_per.c +index 031f3fc..d57b8fa 100644 +--- a/rsi_91x_per.c ++++ b/rsi_91x_per.c +@@ -145,7 +145,6 @@ int rsi_send_rx_stats_cmd(struct rsi_hw *adapter, struct nlmsghdr *nlh) + int status = 0; + #endif + +- if (common->driver_mode == E2E_MODE) { + #ifndef CONFIG_STA_PLUS_AP + struct ieee80211_vif *vif = adapter->vifs[0]; + bool assoc = vif && vif->bss_conf.assoc; +@@ -154,6 +153,7 @@ int rsi_send_rx_stats_cmd(struct rsi_hw *adapter, struct nlmsghdr *nlh) + bool assoc = sta_vif && sta_vif->bss_conf.assoc; + #endif + ++ if (common->driver_mode == E2E_MODE) { + if (!assoc && adapter->ps_state == PS_ENABLED) + rsi_disable_ps(adapter); + goto SEND_STATS_FRAME; |