diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-16 20:06:31 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-16 20:06:31 +0000 |
commit | c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766 (patch) | |
tree | 491c2c1ac2f4ff06e70c3a8238bbf371c629bd43 | |
parent | 05eb0a60164a42850b8d3c8a10aa2a6b5a69fdeb (diff) | |
download | drakx-net-c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766.tar drakx-net-c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766.tar.gz drakx-net-c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766.tar.bz2 drakx-net-c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766.tar.xz drakx-net-c7ca6a31e4cb3ee1904bf953f69eb72cd99ba766.zip |
Support large PIN (up to 8 digits) (#46972).
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/network/connection/cellular_card.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- cellular backend: + o support large PIN (from 4 to 8 digits) (#46972) - net_monitor: o more informative default connection information and control (#17140) o add option to reset traffic counter (#46676) diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 4581ea3..5df6cda 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -112,7 +112,7 @@ sub get_hardware_settings { sub check_hardware_settings { my ($self) = @_; - if ($self->{hardware}{pin} !~ /^[0-9]{4}$/) { + if ($self->{hardware}{pin} !~ /^[0-9]{4,8}$/) { $self->{hardware}{error} = translate($wrong_pin_error); return 0; } |