[layer23] Correcting an attribute name in sysinfo.h.
authorAndreas.Eversberg <jolly@eversberg.eu>
Tue, 13 Jul 2010 14:14:54 +0000 (14:14 +0000)
committerAndreas.Eversberg <jolly@eversberg.eu>
Tue, 13 Jul 2010 14:14:54 +0000 (14:14 +0000)
src/host/layer23/include/osmocom/sysinfo.h
src/host/layer23/src/gsm322.c
src/host/layer23/src/gsm48_rr.c
src/host/layer23/src/sysinfo.c

index 9a33bb9..1c1dedd 100644 (file)
@@ -68,7 +68,7 @@ struct gsm48_sysinfo {
        uint8_t                         gi_si13_pos;
 
        /* cell selection */
-       int8_t                          ms_txpwr_max_ccch;
+       int8_t                          ms_txpwr_max_cch;
        int8_t                          cell_resel_hyst_db;
        int8_t                          rxlev_acc_min_db;
        uint8_t                         neci;
index 94e9caa..6cbba03 100644 (file)
@@ -3289,7 +3289,7 @@ int gsm322_dump_cs_list(struct gsm322_cellsel *cs, uint8_t flags,
                                        print(priv, "normal |");
                        }
                        print(priv, "%4d   |%4d\n", s->rxlev_acc_min_db,
-                               s->ms_txpwr_max_ccch);
+                               s->ms_txpwr_max_cch);
                } else
                        print(priv, "n/a    |n/a    |n/a    |n/a    |n/a    |"
                                "n/a    |n/a    |n/a\n");
index 4a189f3..2faf38a 100644 (file)
@@ -1616,7 +1616,7 @@ static int gsm48_decode_cell_sel_param(struct gsm48_sysinfo *s,
        convert ms_txpwr_max_ccch dependant on the current frequenc and support
        to the right powe level
 #endif
-       s->ms_txpwr_max_ccch = cs->ms_txpwr_max_ccch;
+       s->ms_txpwr_max_cch = cs->ms_txpwr_max_ccch;
        s->cell_resel_hyst_db = cs->cell_resel_hyst * 2;
        s->rxlev_acc_min_db = cs->rxlev_acc_min - 110;
        s->neci = cs->neci;
index ca62eb6..f4204c1 100644 (file)
@@ -129,7 +129,7 @@ int gsm48_sysinfo_dump(struct gsm48_sysinfo *s, uint16_t arfcn,
 
        /* cell selection */
        print(priv, "MX_TXPWR_MAX_CCCH = %d  CRH = %d  RXLEV_MIN = %d  "
-               "NECI = %d  ACS = %d\n", s->ms_txpwr_max_ccch,
+               "NECI = %d  ACS = %d\n", s->ms_txpwr_max_cch,
                s->cell_resel_hyst_db, s->rxlev_acc_min_db, s->neci, s->acs);
 
        /* bcch options */