Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nl80211: handle per_sta_vif case properly
When per_sta_vif is enabled in hostapd BSS config, we need to iterate through every interface in /sys/class/net which matches `${interface_requested}.${number}`. Otherwise data requested from iwinfo will be incomplete/nonexistant. This is already handled for WDS so there is precedence for a change like this. Also refactor logic on whether to issue a NL80211_CMD_GET_STATION request on the interface into a seperate function. Closes openwrt/openwrt#14339 Signed-off-by: Rany Hany <[email protected]>
- Loading branch information