Radar detection happens before starting AP; so netdev carrier may be dormant at this time. Remove this check from cfg80211_start_radar_detection. Signed-off-by: Avinash Patil <patila@xxxxxxxxxxx> --- net/wireless/nl80211.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 6e41777..25f68d6 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -6132,9 +6132,6 @@ static int nl80211_start_radar_detection(struct sk_buff *skb, if (err) return err; - if (netif_carrier_ok(dev)) - return -EBUSY; - if (wdev->cac_started) return -EBUSY; -- 1.8.1.4 -- 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