[PATCH openEuler-5.10 03/31] wifi: wilc1000: validate number of channels