[PATCH 5.2 227/413] net: hns3: fix port capbility updating issue