After remove ";" in line 357, more problem in this function handle_del_peer()
It can't compile well.

The "struct candidate **peer;" should be changed to "struct candidate *peer;"
And all references to peer in this function should be changed accordingly.


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Chaoxing Lin
Sent: Tuesday, April 09, 2013 1:43 PM
To: [email protected]
Subject: authsae bug in handle_del_peer()


File: linux/meshd-nl80211.c
Line 357~358:

357    if (nla_get_u32(tb[NL80211_ATTR_IFINDEX]) != nlcfg->ifindex);
358        return -1;

The ";" at the end of line 357 is the problem.

The impact is severe.
handle_del_peer() always return -1 prematurelly.

Meshd-nl80211 can not handle station delete event from kernel.


_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to