From: Akinobu Mita Date: Sun, 27 May 2007 14:25:00 +0000 (+0900) Subject: [PATCH] ieee80211: fix incomplete error message X-Git-Tag: v2.6.22-rc4~90^2~7^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a76193df7c7b60f9facb4090c5ec082e06582209;p=linux-2.6-omap-h63xx.git [PATCH] ieee80211: fix incomplete error message Fix error message: Unable to network device. --> Unable to allocate network device. Cc: James Ketrenos Signed-off-by: Akinobu Mita Signed-off-by: John W. Linville --- diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 7ec6610841b..17ad278696e 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);