info: remove old cca options capabilities output
PATCH 2/2 info: remove old cca options capabilities output
Signed-off-by Christoffer Holmstedt <[email protected]>
--- src/info.c | 23 ----------------------- 1 file changed, 23 deletions(-)
src/info.c +0 -23
@@ -411,29 +411,6 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)printf ("\n" ); } -if (tb_caps[NL802154_CAP_ATTR_CCA_OPTS ]) { -struct nlattr *nl_cca_opts; -int rem_cca_opts; - -printf ("\tcca_opts: " ); -nla_for_each_nested (nl_cca_opts, - tb_caps[NL802154_CAP_ATTR_CCA_OPTS ], - rem_cca_opts) { -printf ("%d" ,nla_type (nl_cca_opts)); -switch (nla_type (nl_cca_opts)) { -case NL802154_CCA_OPT_ENERGY_CARRIER_AND : -case NL802154_CCA_OPT_ENERGY_CARRIER_OR : -printf ("(cca_mode: 3)," ); -break ; -default : -printf ("unkown\n" ); -break ; - } - } -/* TODO */ -printf ("\b \n" ); - } - if (tb_caps[NL802154_CAP_ATTR_MIN_MINBE] && tb_caps[NL802154_CAP_ATTR_MAX_MINBE] && tb_caps[NL802154_CAP_ATTR_MIN_MAXBE] &&
Signature · 5 lines
1.9.1 -- Christoffer Holmstedt