gprs_bssgp.c: Cast const of TLVP_VAL away.
Fix a compiler warning, we cast the const away at various other parts in the code as well. We should consider removing the const from the TLV struct..
This commit is contained in:
parent
cbac76ee0e
commit
2e22a5d85d
|
@ -256,8 +256,8 @@ static int bssgp_rx_ul_ud(struct msgb *msg, struct tlv_parsed *tp,
|
|||
return bssgp_tx_status(BSSGP_CAUSE_MISSING_MAND_IE, NULL, msg);
|
||||
|
||||
/* store pointer to LLC header and CELL ID in msgb->cb */
|
||||
msgb_llch(msg) = TLVP_VAL(tp, BSSGP_IE_LLC_PDU);
|
||||
msgb_bcid(msg) = TLVP_VAL(tp, BSSGP_IE_CELL_ID);
|
||||
msgb_llch(msg) = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_LLC_PDU);
|
||||
msgb_bcid(msg) = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_CELL_ID);
|
||||
|
||||
return gprs_llc_rcvmsg(msg, tp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue