summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-05 11:49:49 +0100
committerJo-Philipp Wich <jo@mein.io>2021-11-05 11:49:49 +0100
commit54ef6c09116430e5ce35777bd899f750d84e4dc1 (patch)
tree2eaf22a03077dd46f27830b0c77c25d9e814b0d5 /include
parente6efadbf0c896da5a49808d733c2c6a59c5a854f (diff)
nl80211: fix premature netlink reply receive abort
The nl_recvmsgs() logic in uc_nl_request() incorrectly stopped reading the socket before the netlink ACK message was handled for non-multipart replies. This caused subsequent requests to incorrectly receive the ACK of the previous request, leading to a failure to receive the actual reply. Fix this issue by continue reading the socket until either the finish callback for multipart (dump) messages or the ack callback for non- multipart messages was received. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions