From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Kimdon Subject: Re: [PATCH] d80211: fix scan issues with new ops Date: Sun, 19 Nov 2006 07:56:28 -0800 Message-ID: <20061119155628.GA25061@devicescape.com> References: <1163802439.3392.47.camel@johannes.berg> <1163895673.15473.11.camel@johannes.berg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Jiri Benc , "John W. Linville" , Simon Barber , Jouni Malinen , Hong Liu , David Kimdon , Michael Wu , Michael Buesch , Ivo van Doorn Return-path: Received: from mail.devicescape.com ([207.138.119.2]:42696 "EHLO mail.devicescape.com") by vger.kernel.org with ESMTP id S1756731AbWKSP4i (ORCPT ); Sun, 19 Nov 2006 10:56:38 -0500 To: Johannes Berg Content-Disposition: inline In-Reply-To: <1163895673.15473.11.camel@johannes.berg> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sun, Nov 19, 2006 at 01:21:13AM +0100, Johannes Berg wrote: > If hardware shall do scanning, the hw_scan operation must be set. However, > if the driver is for multiple cards that may or may not do hardware > scanning, it'll need a flag. What is wrong with the driver setting the function pointer to NULL for the cards that do not support scanning? Where does this requirment come from that the function pointers in struct ieee80211_wiphy be identical for all cards? -David