- list_for_each_entry(chan, &session->priv->chan, list) {
- if (chan->header_type)
- continue; /* don't change it if session stop/restart */
- if (chan->free_event_id < 31)
- chan->header_type = 1; /* compact */
+ list_for_each_entry(chan_priv, &session->priv->chan, node) {
+ if (chan_priv->header_type)
+ continue; /* don't change it if session stop/restart */
+ if (chan_priv->free_event_id < 31)
+ chan_priv->header_type = 1; /* compact */