summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-21 17:07:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-22 09:34:21 +0200
commit7b24d3240adc096414b40ad462e14fc14efd537f (patch)
tree3b14f933c19da6e9367cc8c0a23d9eb6c93e50b3
parentc05d6d09ba48b69b423bd5542128504083190465 (diff)
downloadbarebox-7b24d3240adc096414b40ad462e14fc14efd537f.tar.gz
bbremote: add missing 'md' packet handler
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/remote/controller.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/remote/controller.py b/scripts/remote/controller.py
index 2ed8346..1a83909 100644
--- a/scripts/remote/controller.py
+++ b/scripts/remote/controller.py
@@ -46,6 +46,9 @@ def unpack(data):
elif p_type == BBType.fs_return:
logging.debug("received: fs_return")
return BBPacketFSReturn(raw=data)
+ elif p_type == BBType.md:
+ logging.debug("received: md")
+ return BBPacketMd(raw=data)
elif p_type == BBType.md_return:
logging.debug("received: md_return")
return BBPacketMdReturn(raw=data)