On 02/25/2012 11:11 AM, Vasanthakumar Thiagarajan wrote: > Split the wmi event processing into the one which needs to be > vif specific and the reset. This is a step towards avoiding > the need for wiphy and a netdev registration before getting > any message from firmware. > > Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@xxxxxxxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath6kl/wmi.c | 200 ++++++++++++++++----------------- > 1 files changed, 99 insertions(+), 101 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c > index bbbe0a7..0527933 100644 > --- a/drivers/net/wireless/ath/ath6kl/wmi.c > +++ b/drivers/net/wireless/ath/ath6kl/wmi.c > @@ -3369,32 +3369,101 @@ static int ath6kl_wmi_roam_tbl_event_rx(struct wmi *wmi, u8 *datap, int len) > return ath6kl_debug_roam_tbl_event(wmi->parent_dev, datap, len); > } > > -/* Control Path */ > -int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb) > +/* Process interface specific wmi events, caller would free the datap */ > +static int ath6kl_wmi_proc_events_iface(struct wmi *wmi, u16 if_idx, u16 cmd_id, > + u8 *datap, u32 len) > { Please rename this to ath6kl_wmi_proc_events_vif() or something similar. Better to use term vif everywhere, it's not clear that iface here means vif. Otherwise the patchset looks good to me. Kalle -- 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