am7xxx: factor out a send_command() function
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Nov 2013 13:57:09 +0000 (14:57 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Nov 2013 14:28:16 +0000 (15:28 +0100)
Some packet types do not carry any header_data and thus they can be seen
as commands issued to the device.

Add a send_command() function to handle such packet types, others of
them are going to be added in future commits.


No differences found