________________________________________ From: Johannes Berg [johannes@xxxxxxxxxxxxxxxx] Sent: Wednesday, June 13, 2012 6:06 PM To: Mahesh Palivela Cc: linville@xxxxxxxxxxxxx; linux-wireless@xxxxxxxxxxxxxxx Subject: RE: [PATCH] cfg80211/nl80211: Fix for wireless-testing kernel crash On Wed, 2012-06-13 at 12:30 +0000, Mahesh Palivela wrote: > net/wireless/nl80211.c -> nl80211_dump_survey() survey_info structure > is not being initialized. Without this dev->ops->dump_survey() return > value is zero. But 'survey' argument passed to this function is > untouched and we are trying to access the members of this structure > and hitting crash. Hope this helps. What driver are you using, and why does it return 0 when it didn't actually return/fill any information? johannes Its our own chip driver. I just checked without doing anything we are returning zero. I will fix it on our end as well. -- 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