diff options
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/connection/cellular_card.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 31429d1..1e15ec6 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -128,8 +128,8 @@ sub prepare_device { modules::load_and_configure($modules_conf, $driver, if_($driver eq 'usbserial', join( ' ', - "vendor=0x" . sprintf("%4x", $self->{device}{vendor}), - "product=0x" . sprintf("%4x", $self->{device}{id})))); + "vendor=0x" . sprintf("%04x", $self->{device}{vendor}), + "product=0x" . sprintf("%04x", $self->{device}{id})))); $modules_conf->write if !ref $::o; sleep 2 if $driver eq 'usbserial'; } |