Should be two not three. disc_timeout_jiff() root_path_confirmation_jiffies() -----Original Message----- From: Chaoxing Lin Sent: Tuesday, November 06, 2012 4:44 PM To: linux-wireless@xxxxxxxxxxxxxxx Subject: minor bug on these three macros for mesh Net/mac80211/mesh_hwmp.c #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries) #define disc_timeout_jiff(s) \ msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout) #define root_path_confirmation_jiffies(s) \ msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval) The "sdata" in these 3 macros should be "s". For now, code just happens to work since caller always passes in "sdata" -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html