A flaw in the Linux kernel's ath12k wireless driver caused stale peer entries to remain after certain MLO station state transitions, leading to failures when reconnecting. This issue was fixed by correcting error handling paths to properly clean up stale dp_peer entries and link assignments, preventing connection errors on subsequent attempts.