Hello, Do we want to continue as usual if dev_alloc_skb() in theis method fails? Regards, Rami On Wed, Oct 22, 2008 at 9:36 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Wed, 2008-10-22 at 09:00 +0200, Rami Rosen wrote: >> This patch adds a check on the return value of dev_alloc_skb() in >> ieee80211_sta_join_ibss() >> in net/mac80211/mlme.c. > > What's wrong with the current code? > > >> + return -1; > > don't return -1, return meaningful error values. > > johannes > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html