On 10/20/23 08:23, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear <greearb@xxxxxxxxxxxxxxx> Best link is the link with the highest state (ie, associated) and if multiple links have same state, the highest frequency wins. This makes current ethtool stats more useful. Per-link ethtool stats can be added later.
The kernel robot is correct, this patch is buggy and would crash with a 2+ link situation. I'll send v3, though I don't have an AP that actually advertises > 1 link so difficult to test well... Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com