Hi Antonio,

[auto build test ERROR on: mac80211-next/master]
[also build test ERROR on: v4.3 next-20151113]

url:    
https://github.com/0day-ci/linux/commits/Antonio-Quartulli/nl80211-add-flag-to-force-passive-scan-on-DFS-channels/20151114-025331
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git 
master
config: i386-defconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/mac80211/scan.c: In function '__ieee80211_start_scan':
>> net/mac80211/scan.c:603:9: error: 'chan' undeclared (first use in this 
>> function)
          ((chan->flags & IEEE80211_CHAN_RADAR) &&
            ^
   net/mac80211/scan.c:603:9: note: each undeclared identifier is reported only 
once for each function it appears in
>> net/mac80211/scan.c:604:9: error: 'scan_req' undeclared (first use in this 
>> function)
           (scan_req->flags & NL80211_SCAN_FLAG_PASSIVE_RADAR))) {
            ^
   net/mac80211/scan.c: In function 'ieee80211_scan_get_channel_time':
   net/mac80211/scan.c:652:8: error: 'scan_req' undeclared (first use in this 
function)
          (scan_req->flags & NL80211_SCAN_FLAG_PASSIVE_RADAR)))
           ^

vim +/chan +603 net/mac80211/scan.c

   597                  /* We need to ensure power level is at max for 
scanning. */
   598                  ieee80211_hw_config(local, 0);
   599  
   600                  if ((req->channels[0]->flags &
   601                       IEEE80211_CHAN_NO_IR) ||
   602                      !req->n_ssids ||
 > 603                      ((chan->flags & IEEE80211_CHAN_RADAR) &&
 > 604                       (scan_req->flags & 
 > NL80211_SCAN_FLAG_PASSIVE_RADAR))) {
   605                          next_delay = IEEE80211_PASSIVE_CHANNEL_TIME;
   606                  } else {
   607                          ieee80211_scan_state_send_probe(local, 
&next_delay);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to