octphy: improve log output

Printing the RX payload size is strictly informative, so the
loglevel LOGL_ERROR is wrong. This commit changes it to
LOGL_DEBUG

(Patch by Octasic Inc.)

Change-Id: I712cdd79cbba93f457705d38871bd8d4b7f4e897
This commit is contained in:
Philipp Maier 2017-06-13 16:59:42 +02:00 committed by Harald Welte
parent 4962ed1811
commit ae7ece1064
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr,
&trx->ts[L1SAP_CHAN2TS(chan_nr)].lchan[l1sap_chan2ss(chan_nr)];
if (data_ind->Data.ulDataLength < 1) {
LOGP(DL1C, LOGL_ERROR, "chan_nr %d Rx Payload size 0\n",
LOGP(DL1C, LOGL_DEBUG, "chan_nr %d Rx Payload size 0\n",
chan_nr);
return -EINVAL;
}