I can't understand one thing in net/wireless/nl80211.c file starting from kernel 3.13. Why there is following if statement in nl80211_start_radar_detection():
if (netif_carrier_ok(dev)) {
return -EBUSY;
}
From what I understand this means that we cannot start radar detection if our driver carrier is ready. Why? Shouldn't that be
if (!netif_carrier_ok(dev)) {
return -EBUSY;
}
Thanks