Improved discriptor sub-element handling and debugging.
FossilOrigin-Name: 1be3acc6e8fe2f1b579bf1d84589aca685effc8c551372b536488f66ce0e0d84
This commit is contained in:
@ -21,8 +21,12 @@ int cisco_out_ac_descriptor(struct conn *conn,struct cw_action_out * a,uint8_t *
|
||||
d+=cw_put_ac_status(d ,(struct cw_ac_status*)(i->data));
|
||||
|
||||
|
||||
// i = mbag_get(conn->local,CW_ITEM_AC_SOFTWARE_VERSION);
|
||||
/* Send back the same software as the WTP has,
|
||||
otherwise the AP wants us to send an image */
|
||||
|
||||
i = mbag_get(conn->incomming,CW_ITEM_WTP_SOFTWARE_VERSION);
|
||||
|
||||
//i = mbag_get(conn->local,CW_ITEM_AC_SOFTWARE_VERSION);
|
||||
if ( i ) {
|
||||
d += cw_put_version(d,1,i->data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user