On Thu, 2012-11-22 at 14:05 +0200, Eliad Peller wrote: > The event mailbox in wl18xx has a different > (non-compatible) structure. > > Create common functions in wlcore to handle the > events, and call them from the chip-specific > event mailbox parsers. > > This way, each driver (wl12xx/wl18xx) extracts > the event mailbox by itself according to its > own structure, and then calls the common > wlcore functions to handle it. > > Signed-off-by: Eliad Peller <eliad@xxxxxxxxxx> > --- [...] > diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c > index 7c596dd..7b43c6c 100644 > --- a/drivers/net/wireless/ti/wlcore/main.c > +++ b/drivers/net/wireless/ti/wlcore/main.c [...] > @@ -1916,6 +1914,71 @@ static void wlcore_op_stop(struct ieee80211_hw *hw) [...] > +static void wl1271_connection_loss_work(struct work_struct *work) wlcore_connection_loss_work() -- Luca -- 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