Discrimination concerns

Could an assistant principal making a rule that only applies to a specific student with ADHD that personal devices aren't allowed to be brought to school due to a student getting distracted while using them be a form of discrimination on a student with ADHD?