The scan decision allows disabled channel to be set. So the probe request was seen over the disabled channel. This patch skips the disabled channel while scanning. Signed-off-by: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxxxx> --- net/mac80211/scan.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 6f09eca..9c3d309 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -616,6 +616,10 @@ static void ieee80211_scan_state_set_channel(struct ieee80211_local *local, if (ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_CHANNEL)) skip = 1; + /* Skip disabled channels */ + if (chan->flags & IEEE80211_CHAN_DISABLED) + skip = 1; + /* advance state machine to next channel/band */ local->scan_channel_idx++; -- 1.7.6.1 -- 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