Original commit message from CVS: Fix caps negotiation in _getcaps and _link functions. Should be completely symmetric now.