es9p_client: MAke install notification code execute at all

The caller specified 'install' but the do_notification() function
compared with 'download' :(

Change-Id: I2d441cfbc1457688eb163301d3d91a1f1fdc7a8c
This commit is contained in:
Harald Welte
2026-01-28 22:13:03 +01:00
committed by laforge
parent 4e35e2c357
commit 22c3797a89

View File

@@ -126,7 +126,7 @@ class Es9pClient:
if self.opts.iccid: if self.opts.iccid:
ntf_metadata['iccid'] = h2b(swap_nibbles(self.opts.iccid)) ntf_metadata['iccid'] = h2b(swap_nibbles(self.opts.iccid))
if self.opts.operation == 'download': if self.opts.operation == 'install':
pird = { pird = {
'transactionId': h2b(self.opts.transaction_id), 'transactionId': h2b(self.opts.transaction_id),
'notificationMetadata': ntf_metadata, 'notificationMetadata': ntf_metadata,