sysmobts: Free the message on older firmware releases

Seen while implementing a new functionality in the code.
This commit is contained in:
Holger Hans Peter Freyther 2014-07-25 13:23:00 +02:00
parent 94a63851b7
commit bac0ff7f6d
1 changed files with 1 additions and 0 deletions

View File

@ -1232,6 +1232,7 @@ int l1if_mute_rf(struct femtol1_hdl *hdl, uint8_t mute[8], l1if_compl_cb *cb)
#if SUPERFEMTO_API_VERSION < SUPERFEMTO_API(3,6,0)
LOGP(DL1C, LOGL_ERROR, "RF-MUTE.req not supported by SuperFemto\n");
msgb_free(msg);
return -ENOTSUP;
#else
sysp->id = SuperFemto_PrimId_MuteRfReq;