]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/main.c
mac80211: return correct error return from ieee80211_wep_init
[linux-2.6-omap-h63xx.git] / net / mac80211 / main.c
index f1a83d450ea0a338d1464adbf3bdec2b48f5eff4..b5830f7055cf3ed822a512db6df0f9bbb2ffeb7c 100644 (file)
@@ -1731,8 +1731,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
        result = ieee80211_wep_init(local);
 
        if (result < 0) {
-               printk(KERN_DEBUG "%s: Failed to initialize wep\n",
-                      wiphy_name(local->hw.wiphy));
+               printk(KERN_DEBUG "%s: Failed to initialize wep: %d\n",
+                      wiphy_name(local->hw.wiphy), result);
                goto fail_wep;
        }