3 @@ -44,8 +44,9 @@ static int print_survey_handler(struct n
6 if (sinfo[NL80211_SURVEY_INFO_FREQUENCY])
7 - printf("\tfrequency:\t%u MHz\n",
8 - nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]));
9 + printf("\tfrequency:\t%u MHz%s\n",
10 + nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]),
11 + sinfo[NL80211_SURVEY_INFO_IN_USE] ? " [in use]" : "");
12 if (sinfo[NL80211_SURVEY_INFO_NOISE])
13 printf("\tnoise:\t\t%d dBm\n",
14 (int8_t)nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE]));