aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-05-27 23:25:00 +0900
committerJohn W. Linville <linville@tuxdriver.com>2007-05-29 11:16:34 -0400
commita76193df7c7b60f9facb4090c5ec082e06582209 (patch)
tree9987c5dfb9e9ed2a50ea41c66374c9bf6db4537d /net/ieee80211
parent[PATCH] prism54: fix monitor mode oops (diff)
downloadlinux-dev-a76193df7c7b60f9facb4090c5ec082e06582209.tar.xz
linux-dev-a76193df7c7b60f9facb4090c5ec082e06582209.zip
[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: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/ieee80211_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c
index 7ec6610841ba..17ad278696ed 100644
--- a/net/ieee80211/ieee80211_module.c
+++ b/net/ieee80211/ieee80211_module.c
@@ -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);