am7xxx: fix the error path of the second configuration check
authorAntonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 14:42:02 +0000 (16:42 +0200)
committerAntonio Ospite <ao2@ao2.it>
Mon, 20 Apr 2015 16:03:55 +0000 (18:03 +0200)
commit361d1aa96547f527f1c60a871db35c943bc07471
tree497d5ce154e6170a107a79b80e2dd3219719670f
parent2f9553ff3efdbd00111e90774fd90907a2e45200
am7xxx: fix the error path of the second configuration check

Return a negative error value when the configuration check done after
claiming the interface fails, and also fix the output messages.
src/am7xxx.c