fix AC compilation

This commit is contained in:
Andreas Schultz
2016-03-14 10:41:30 +01:00
parent e8241b2d3f
commit 40071fb06d
26 changed files with 62 additions and 49 deletions

View File

@ -77,7 +77,7 @@ static void* ac_json_80211_macoperation_createmessageelement(struct json_object*
static int ac_json_80211_macoperation_addmessageelement(struct ac_json_ieee80211_wtpradio* wtpradio, void* data, int overwrite) {
struct capwap_80211_macoperation_element* macoperation = (struct capwap_80211_macoperation_element*)data;
struct ac_json_ieee80211_item* item = &wtpradio->items[macoperation->radioid - 1];
struct capwap_message_elements_ops* ops = capwap_get_message_element_ops(CAPWAP_ELEMENT_80211_MACOPERATION);
const struct capwap_message_elements_ops *ops = capwap_get_message_element_ops(CAPWAP_ELEMENT_80211_MACOPERATION);
if (item->macoperation) {
if (!overwrite) {