Log an error when node allocation fails
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 16 Jan 2008 00:06:30 +0000 (00:06 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 16 Jan 2008 00:06:30 +0000 (00:06 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3138 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_node.c

index ecda7ca152091b1ede393401a561620241a2f396..83582262b9687597142b1c649359149632764fd9 100644 (file)
@@ -1050,6 +1050,9 @@ ieee80211_alloc_node_table(struct ieee80211vap *vap,
 #endif
                IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
        }
+       else {
+               printk("Failed to allocate node for %s.\n", ether_sprintf(macaddr));
+       }
 
        return ni;
 }