> On Tue, Jan 28, 2014 at 6:19 PM, Phoebe Buckheister > Hmm. nla_get/put_flag act on boolean attributes. See (for example) > net/wireless/nl80211.c
Boolean in the sense that nla_get_flag will be false if the attribute is not there and true if it's there, yes. nla_put_flag creates an attribute with no data (it doesn't even have a data argument), which is exactly what I didn't want: not setting LBT would unset it, so you'd have to do a dump first and copy all flags. ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel