summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-16 20:06:31 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-16 20:06:31 +0000
commitc7ca6a31e4cb3ee1904bf953f69eb72cd99ba766 (patch)
tree491c2c1ac2f4ff06e70c3a8238bbf371c629bd43 /lib/network/connection
parent05eb0a60164a42850b8d3c8a10aa2a6b5a69fdeb (diff)
downloaddrakx-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).
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 1 insertions, 1 deletions
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;
}