Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b82d940d authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: add struct wilc to host_if_drv



This patch adds struct wilc to host_if_dev and assign wilc to use driver's
primary structure in host_if_dev.

Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8598aaa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3843,6 +3843,7 @@ s32 wilc_init(struct net_device *dev, struct host_if_drv **hif_drv_handler)
		result = -ENOMEM;
		goto _fail_;
	}
	hif_drv->wilc = wilc;
	*hif_drv_handler = hif_drv;
	err = add_handler_in_list(hif_drv);
	if (err) {
+2 −0
Original line number Diff line number Diff line
@@ -259,7 +259,9 @@ enum p2p_listen_state {
	P2P_GRP_FORMATION
};

struct wilc;
struct host_if_drv {
	struct wilc *wilc;
	struct user_scan_req usr_scan_req;
	struct user_conn_req usr_conn_req;
	struct remain_ch remain_on_ch;