[PATCH openEuler-5.10-LTS 3/6] wifi: wilc1000: validate number of channels