diff --git a/[refs] b/[refs] index 8bdc410bcfeb..11153255ac9c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4797c7ba93e4049cdda18045c01bbe563aafff69 +refs/heads/master: 9b8648704358e42f9865cd6de7cedb5ac0db67e7 diff --git a/trunk/net/mac80211/scan.c b/trunk/net/mac80211/scan.c index bcaee5d12839..4b75ddeef6b1 100644 --- a/trunk/net/mac80211/scan.c +++ b/trunk/net/mac80211/scan.c @@ -479,11 +479,10 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata, if (local->ops->hw_scan) { __set_bit(SCAN_HW_SCANNING, &local->scanning); } else if ((req->n_channels == 1) && - (req->channels[0]->center_freq == - local->hw.conf.channel->center_freq)) { - - /* If we are scanning only on the current channel, then - * we do not need to stop normal activities + (req->channels[0] == local->oper_channel)) { + /* + * If we are scanning only on the operating channel + * then we do not need to stop normal activities */ unsigned long next_delay;