From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945961AbcFHOYu (ORCPT ); Wed, 8 Jun 2016 10:24:50 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:64020 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945942AbcFHOYo convert rfc822-to-8bit (ORCPT ); Wed, 8 Jun 2016 10:24:44 -0400 X-IronPort-AV: E=Sophos;i="5.26,439,1459839600"; d="scan'208";a="294338961" X-IronPort-AV: E=McAfee;i="5700,7163,8190"; a="1212034355" From: "Valo, Kalle" To: Prasun Maiti CC: Linux Kernel , "ath6kl@lists.infradead.org" , Linux Next , "Linux Wireless" , Linux Kernel Subject: Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns Thread-Topic: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns Thread-Index: AQHRwYBJSQNuEgUC4EKfLf6Vag9aZA== Date: Wed, 8 Jun 2016 14:23:47 +0000 Message-ID: <87wplzkbd9.fsf@kamboji.qca.qualcomm.com> References: <1465388474-20503-1-git-send-email-prasunmaiti87@gmail.com> In-Reply-To: <1465388474-20503-1-git-send-email-prasunmaiti87@gmail.com> (Prasun Maiti's message of "Wed, 8 Jun 2016 17:51:14 +0530") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.251.52.12] Content-Type: text/plain; charset="us-ascii" Content-ID: <0862663725086E4082EBF9CF2191927D@qualcomm.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Prasun Maiti writes: > Since add more warnings for inconsistent ops in cfg80211, the wireless > core warns if a driver implements a cfg80211 callback but doesn't > implements the inverse operation. The ath6kl driver implements a cfg80211 > .get_antenna operation handler but doesn't have the inverse .set_antenna > callback. So, it makes warning. > > To remove this warning, add .set_antenna callback in ath6kl driver and > also send a cmd to firmware with it's values. > > Signed-off-by: Prasun Maiti Did you test this? What hardware and firmware version? -- Kalle Valo