[PATCH openEuler-5.10 22/68] NIU: fix incorrect error return, missed in previous revert