linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv
@ 2015-10-30  3:10 Glen Lee
  2015-10-30  3:10 ` [PATCH 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device Glen Lee
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: Glen Lee @ 2015-10-30  3:10 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-wireless, tony.cho, glen.lee, leo.kim, austin.shin,
	adel.noureldin, adham.abozaeid, Nicolas.FERRE

This patch defines wiphy private data priv in struct host_if_drv and set
priv to priv in host_if_drv to reference it's wiphy private data.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
---
 drivers/staging/wilc1000/host_interface.h         | 1 +
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index 72c4797..f9efb5a 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -260,6 +260,7 @@ enum p2p_listen_state {
 };
 
 struct host_if_drv {
+	struct wilc_priv *priv;
 	struct user_scan_req usr_scan_req;
 	struct user_conn_req usr_conn_req;
 	struct remain_ch remain_on_ch;
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 32b93d3..8554f6f 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3478,6 +3478,7 @@ int wilc_init_host_int(struct net_device *net)
 	s32Error = host_int_init(net, &priv->hWILCWFIDrv);
 	if (s32Error)
 		PRINT_ER("Error while initializing hostinterface\n");
+	priv->hWILCWFIDrv->priv = priv;
 
 	return s32Error;
 }
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-11-03  8:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  3:10 [PATCH 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv Glen Lee
2015-10-30  3:10 ` [PATCH 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device Glen Lee
2015-10-30  3:10 ` [PATCH 03/17] staging: wilc1000: wilc_wlan_cfg_get: " Glen Lee
2015-10-30  3:10 ` [PATCH 04/17] staging: wilc1000: wilc_wlan_cfg_set: " Glen Lee
2015-10-30  3:10 ` [PATCH 05/17] staging: wilc1000: wilc_wlan_cfg_commit: " Glen Lee
2015-10-30  3:10 ` [PATCH 06/17] staging: wilc1000: wilc_wlan_txq_add_cfg_pkt: add argument net_device Glen Lee
2015-10-30  3:10 ` [PATCH 07/17] staging: wilc1000: wilc_wlan_txq_add_to_head: add new " Glen Lee
2015-10-30  3:10 ` [PATCH 08/17] staging: wilc1000: remove unused function remove_TCP_related Glen Lee
2015-10-30  3:10 ` [PATCH 09/17] staging: wilc1000: wilc_wlan_stop: add argument struct net_device Glen Lee
2015-10-30  3:10 ` [PATCH 10/17] staging: wilc1000: remove unused function wilc_wlan_global_reset Glen Lee
2015-10-30  3:10 ` [PATCH 11/17] staging: wilc1000: wilc_wlan_firmware_download: add argument net_device Glen Lee
2015-10-30  3:10 ` [PATCH 12/17] staging: wilc1000: chip_sleep_manually: add argument struct net_device Glen Lee
2015-10-30  3:10 ` [PATCH 13/17] staging: wilc1000: wilc_wlan_start: " Glen Lee
2015-10-30  3:10 ` [PATCH 14/17] staging: wilc1000: acquire_bus: add new argument struct wilc Glen Lee
2015-10-30  3:10 ` [PATCH 15/17] staging: wilc1000: release_bus: add " Glen Lee
2015-10-30  3:10 ` [PATCH 16/17] staging: wilc1000: linux_wlan_get_num_conn_ifcs: add argument net_device Glen Lee
2015-10-30  3:10 ` [PATCH 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan Glen Lee
2015-10-30  8:35   ` Dan Carpenter
2015-10-30  8:50     ` glen lee
2015-11-02  1:43   ` About the patch "Staging: wilc1000: coreconfigurator: Drop unneeded wrapper functions" glen lee
2015-11-03  8:26     ` Shivani Bhardwaj
2015-11-03  8:59       ` glen lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).