From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: Loop detected - calling function from different modules Date: Thu, 31 Aug 2006 11:57:46 +0200 Message-ID: <1157018266.3065.17.camel@ux156> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org Return-path: Received: from crystal.sipsolutions.net ([195.210.38.204]:42411 "EHLO sipsolutions.net") by vger.kernel.org with ESMTP id S1750720AbWHaJ5L (ORCPT ); Thu, 31 Aug 2006 05:57:11 -0400 To: Frank Schneider In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Frank, > Any suggestions to do that please ? d80211 has a hardware definition struct that is registered by the driver and contains a callback that is called for each frame. This is the direction you should take as well: hard_start_xmit (generic code) calls hardware_xmit (your module code, e.g. in a struct wlan_device) johannes