Skip to contentSkip to conversation

ieee80211: fix incomplete error message

PATCH New Akinobu Mita 1 participant 1 message May 27, 2007 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ieee80211: fix incomplete error message

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

Cc John W. Linville <[email protected]>
Cc James Ketrenos <[email protected]>
---
 net/ieee80211/ieee80211_module.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ieee80211/ieee80211_module.c +1 -1
Index: 2.6-mm/net/ieee80211/ieee80211_module.c
===================================================================
@@ -140,7 +140,7 @@ struct net_device *alloc_ieee80211(int s
 
 	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);