tests: ms: Pass correct pointer in constructor instead of NULL

The BTS field will be used in code paths after next patch changes,
otherwise the test fails accessing the NULL pointer.

Change-Id: I5098292bdafa9f4f70fef1a053b80a33deca722c
This commit is contained in:
Pau Espin 2020-10-26 13:46:30 +01:00
parent 9f6d1a85e1
commit 38de84cdc4
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ static void test_ms_storage()
gprs_rlcmac_ul_tbf *ul_tbf;
BTS the_bts;
GprsMs *ms, *ms_tmp;
GprsMsStorage store(NULL);
GprsMsStorage store(&the_bts);
printf("=== start %s ===\n", __func__);