Fix build error for motorola

Add flag for wifi modes