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;