On Thu, 2014-11-13 at 15:49 +0200, Jukka Rissanen wrote: > An attribute NL80211_ATTR_SOCKET_OWNER can be set by the scan initiator. > If present, the attribute will cause the scan to be stopped if the client > dies. > + if (rtnl_trylock()) { > + __cfg80211_stop_sched_scan(rdev, false); > + rtnl_unlock(); > + } Umm, no. Locking in the kernel doesn't work this way. johannes -- 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