Search Linux Wireless

Re: [RFC V2] cfg80211: Add feature flag for 4-way handshake offload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/19/14 10:43, Arend van Spriel wrote:
On 12/19/14 10:18, Johannes Berg wrote:
On Thu, 2014-12-18 at 21:42 +0100, Arend van Spriel wrote:

+    u8 ext_features[(NUM_NL80211_EXT_FEATURES / 8) + 1];

Should probably use DIV_ROUND_UP() here.

Will do.

Looking at this again I wonder if it would be of value to have this as NL80211_EXT_FEATURES_ATTR_LEN in nl80211.h so user-space can check the nla_len() against it and detect API in-compatibility. Just can not use DIV_ROUND_UP() in that case. What's your opinion?

Regards,
Arend
--
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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux