[PATCH] ieee80211: fix incomplete error message
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 27 May 2007 14:25:00 +0000 (23:25 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 May 2007 15:16:34 +0000 (11:16 -0400)
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>
net/ieee80211/ieee80211_module.c

index 7ec6610..17ad278 100644 (file)
@@ -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);