From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from paleale.coelho.fi ([176.9.41.70]:36760 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753976AbdAZRaF (ORCPT ); Thu, 26 Jan 2017 12:30:05 -0500 Message-ID: <1485449523.26003.4.camel@coelho.fi> (sfid-20170126_183009_605218_F3808AF9) From: Luca Coelho To: Johannes Berg , linux-wireless@vger.kernel.org Cc: Johannes Berg Date: Thu, 26 Jan 2017 18:52:03 +0200 In-Reply-To: <20170126162003.31531-1-johannes@sipsolutions.net> References: <20170126162003.31531-1-johannes@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Subject: Re: [PATCH] wireless: define cipher/AKM suites using a macro Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2017-01-26 at 17:20 +0100, Johannes Berg wrote: > From: Johannes Berg > > The spec writes cipher/AKM suites as something like 00-0F-AC:9, > but the part after the colon isn't hex, it's decimal, so that > we've already had a few mistakes (in other code, or unmerged > patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. > > Use a macro to avoid that problem. > > Signed-off-by: Johannes Berg > --- Reviewed-by: Luca Coelho -- Luca.