+
+ # belt and braces
+ $call = uc $call;
+
+ # search for 'as is'
+ my $ref = $cluster{$call};
+ return $ref if $ref;
+
+ # search for the unSSIDed one
+ $call =~ s/-\d+$//o;
+ $ref = $cluster{$call};
+ return $ref if $ref;
+
+ # search for the SSIDed one
+ my $i;
+ for ($i = 1; $i < 17; $i++) {
+ $ref = $cluster{"$call-$i"};
+ return $ref if $ref;
+ }
+ return undef;