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

Commit a76193df authored by Akinobu Mita's avatar Akinobu Mita Committed by John W. Linville
Browse files

[PATCH] ieee80211: fix incomplete error message



Fix error message:
Unable to network device. --> Unable to allocate network device.

Cc: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 20c9d198
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)

	dev = alloc_etherdev(sizeof(struct ieee80211_device) + sizeof_priv);
	if (!dev) {
		IEEE80211_ERROR("Unable to network device.\n");
		IEEE80211_ERROR("Unable to allocate network device.\n");
		goto failed;
	}
	ieee = netdev_priv(dev);