ieee1905: Fixing error in validation of deviceinfo tlv
The validation of device info tlv was always failing, this resulted in showing media type as always ethernet.
The validation of device info tlv was always failing, this resulted in showing media type as always ethernet.