am7xxx: detect unexpected responses to AM7XXX_PACKET_TYPE_DEVINFO requests
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 7 Dec 2012 11:22:45 +0000 (12:22 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 7 Dec 2012 11:47:39 +0000 (12:47 +0100)
commit69c8952c3d754f6928f9628e6ce4d7de95fa846d
treedb1ad682924d4f28a680fe1c6e40f7dc16e20f62
parent024af793fa6d6af644c225804d140cc13aa56307
am7xxx: detect unexpected responses to AM7XXX_PACKET_TYPE_DEVINFO requests

Under some conditions, some devices like Philips/Sagemcom PPX projectors
return a strangely small packet (e.g. an AM7XXX_PACKET_TYPE_POWER with
header_data_len == 2) in reply to an AM7XXX_PACKET_TYPE_DEVINFO, hence
NOT providing useful device info.
src/am7xxx.c