e6e7eafdf4e75cd35e8251f5a2740db05d1a98a0
[openwrt.git] / package / iw / patches / 100-survey_freq_in_use.patch
1 --- a/survey.c
2 +++ b/survey.c
3 @@ -46,6 +46,8 @@ static int print_survey_handler(struct n
4 if (sinfo[NL80211_SURVEY_INFO_FREQUENCY])
5 printf("\tfrequency:\t%u MHz\n",
6 nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]));
7 + if (sinfo[NL80211_SURVEY_INFO_IN_USE])
8 + printf("\tin use\n");
9 if (sinfo[NL80211_SURVEY_INFO_NOISE])
10 printf("\tnoise:\t\t%d dBm\n",
11 (int8_t)nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE]));
This page took 0.04099 seconds and 3 git commands to generate.