Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* *No more warnings -- done
- *
- * *Tvlv handler list --coded
- * *The Gateway callback should call batadv_gw_node_update()
- * *Remove it from bat_iv_ogm.c and use it in the gateway callback
- * *Add this to sysfs.c -> batadv_gw_node_update()
- if (atomic_read(&bat_priv->gw_mode) == gw_mode_tmp)
- return count;
- switch (gw_mode_tmp) {
- case BATADV_GW_MODE_OFF:
- case BATADV_GW_MODE_CLIENT:
- /*unregister gw tvlv*
- tvlv_unregister(BATADV_GW_TVLV,
- bat_priv);
- break;
- case BATADV_GW_MODE_SERVER:
- /*register,value == BATADV_GW_MODE_SERVER*
- tvlv_register(BATADV_GW_TVLV, 0x01,
- sizeof(bat_priv->gw_bandwidth),
- &bat_priv->gw_bandwidth, bat_priv);
- break;
- }
- * *Fix identation
- * *Reduce easily reducable patches
- * *Replace memcpy((char *)tvlv+sizeof(struct shortTvlv), value, length*sizeof(uint8_t));
- [4:31:41 PM] mareklindner: memcpy(tvlv + 1, value, length*sizeof(uint8_t));
- [4:31:55 PM] Simon Wunderlich: memcpy(tvlv + 1, value, length);
- * *batctl gwl
- [4:35:36 PM] mareklindner: batadv_gw_node_update() -> batctl gwl
- [4:36:06 PM] mareklindner: disable aggregation
- * batctl ag 0
- * fix merge conflicts
- *
- * **/
Advertisement
Add Comment
Please, Sign In to add comment