On 04/09/2013 12:06 PM, Johannes Berg wrote:
On Mon, 2013-04-08 at 11:09 +0200, Arend van Spriel wrote:
+void cfg80211_crit_proto_stopped(struct wireless_dev *wdev)
+{
+ struct cfg80211_registered_device *rdev;
+
+ rdev = wiphy_to_dev(wdev->wiphy);
+ WARN_ON(!rdev->crit_proto_started);
+ rdev->crit_proto_started = false;
+}
Oh, so you don't want to tell userspace?
Just an observation will looking for an example of netlink event
messaging to user-space. I noticed that the cfg80211_ft_event() function
used fixed GFP_KERNEL value. Should event functions always have a gfp_t
parameter?
Gr. AvS
--
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