Michal Kazior <michal.kazior@xxxxxxxxx> writes: > Add a few checks and warnings to make it easier to > track any kind of monitor vdev mismanagement. > > Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx> [...] > + if (!ar->monitor_present) { > + ath10k_warn("mac montor stop -- monitor is not present\n"); > + return -EINVAL; > + } [...] > + if (!ar->monitor_present) { > + ath10k_warn("mac montor stop -- monitor is not present\n"); > + return -EINVAL; > + } > + > + if (!ar->monitor_enabled) { > + ath10k_warn("mac montor stop -- monitor is not enabled\n"); > + return -EINVAL; > + } s/montor/monitor/ -- Kalle Valo -- 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