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

Commit 97c18eda authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: rmnet: Use smd_named_open_on_edge()"

parents 22f280b8 e6c61c50
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
 * Virtual Ethernet Interface for MSM7K Networking
 * Virtual Ethernet Interface for MSM7K Networking
 *
 *
 * Copyright (C) 2007 Google, Inc.
 * Copyright (C) 2007 Google, Inc.
 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
 * Author: Brian Swetland <swetland@google.com>
 * Author: Brian Swetland <swetland@google.com>
 *
 *
 * This software is licensed under the terms of the GNU General Public
 * This software is licensed under the terms of the GNU General Public
@@ -488,7 +488,8 @@ static int __rmnet_open(struct net_device *dev)
	mutex_unlock(&p->pil_lock);
	mutex_unlock(&p->pil_lock);


	if (!p->ch) {
	if (!p->ch) {
		r = smd_open(p->chname, &p->ch, dev, smd_net_notify);
		r = smd_named_open_on_edge(p->chname, SMD_APPS_MODEM, &p->ch,
							dev, smd_net_notify);


		if (r < 0)
		if (r < 0)
			return -ENODEV;
			return -ENODEV;