[PATCH 6.12 244/393] wifi: mt76: mt7925: fix the wrong link_idx when a p2p_device is present