From 77799d1a3747465a6eed12a42c0d34086b9cda2b Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Wed, 8 Nov 2023 15:47:43 -0800 Subject: [PATCH] add comment about 9F command timing --- src/ReceiveCommands.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 4e3c7ddc..8b8a605e 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -927,6 +927,8 @@ static void on_9E_XB(shared_ptr c, uint16_t, uint32_t, string& data) { // The 9E command doesn't include the client config, so we need to request it // separately with a 9F command. The 9F handler will call on_login_complete. + // Note that we can't send this command immediately after the 02/17 command; + // if we do, the client doesn't decrypt it properly and won't respond. send_command(c, 0x9F, 0x00); }