net/szedata2: use link status helper functions