ieee80211: fix incomplete error message
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]>
Signed-off-by Akinobu Mita <[email protected]>
--- net/ieee80211/ieee80211_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ieee80211/ieee80211_module.c +1 -1
@@ -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);