mdio: accept MDIO READ without previous ADDRESS command
authorGerhard Sittig <gerhard.sittig@gmx.net>
Wed, 1 Aug 2018 16:35:57 +0000 (18:35 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 11 Aug 2018 20:58:45 +0000 (22:58 +0200)
commit389d21d222a503b9f5f43404ced4b10813008b3a
treed975b588fc0d28b11191d4aff98a24e0bf60d677
parent5166b0317835b35d810506f36e1a957e58109515
mdio: accept MDIO READ without previous ADDRESS command

Fix a Python string formatting issue, where the format string disagreed
with the argument list. A READ command could unexpectedly terminate the
decoder instance when there was no previous ADDRESS command.

This fixes bug #1258.
decoders/mdio/pd.py