handover: use correct handover lookup function

This commit is contained in:
Harald Welte 2009-12-18 11:52:03 +01:00
parent 386cd2b777
commit 6f7a5a7843
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ static int ho_rsl_detect(struct gsm_lchan *new_lchan)
{
struct bsc_handover *ho;
ho = bsc_ho_by_old_lchan(new_lchan);
ho = bsc_ho_by_new_lchan(new_lchan);
if (!ho) {
LOGP(DHO, LOGL_ERROR, "unable to find HO record\n");
return -ENODEV;