summaryrefslogtreecommitdiffhomepage
path: root/docs/tutorials/04-arrays.md
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-12-05 14:50:33 +0100
committerJo-Philipp Wich <jo@mein.io>2024-12-05 14:52:33 +0100
commit373df7299c798071bd6e7566b33f807d31c8bf82 (patch)
tree0c68e11478b83682e20c904effb2a6bfde1bc717 /docs/tutorials/04-arrays.md
parentc3e468b8b1d8c9cea4a4a130842eee3bfdd3f207 (diff)
nl80211: properly support split_wiphy_dump for single phys
When performing a `NL80211_CMD_GET_WIPHY` request for a single wiphy with `split_wiphy_dump` set to true, the expectation is that only a single phy object is returned, like when performing the same request without splitting, yet the current implementation returns a sparse array with only the requested phy index populated instead. Fix this issue by special-casing NL80211_CMD_GET_WIPHY command requests with a set `split_wiphy_dump` attribute. Also implicitly set the `NLM_F_DUMP` flag in this case as it is required for the kernel to send all information. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'docs/tutorials/04-arrays.md')
0 files changed, 0 insertions, 0 deletions