Luis R. Rodriguez 729e9c7663 cfg80211: fix for duplicate userspace replies
This fixes an incorrect assumption (BUG_ON) made in
cfg80211 when handling country IE regulatory requests.
The assumption was that we won't try to call_crda()
twice for the same event and therefore we will not
recieve two replies through nl80211 for the regulatory
request. As it turns out it is true we don't call_crda()
twice for the same event, however, kobject_uevent_env()
*might* send the udev event twice and/or userspace can
simply process the udev event twice. We remove the BUG_ON()
and simply ignore the duplicate request.

For details refer to this thread:

http://marc.info/?l=linux-wireless&m=124149987921337&w=2

Cc: stable@kernel.org
Reported-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-03 14:05:12 -04:00
..
2009-05-25 01:53:53 -07:00
2009-05-29 22:12:32 -07:00
2009-05-25 01:53:53 -07:00
2009-06-03 02:51:04 -07:00
2009-04-20 02:14:59 -07:00
2009-06-03 02:51:04 -07:00
2009-01-04 17:29:21 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-05-29 22:12:32 -07:00
2009-05-25 01:53:53 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-04-23 06:37:16 -07:00
2009-06-03 02:51:04 -07:00
2009-04-22 00:49:51 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-03-31 23:00:26 -04:00
2009-06-03 02:51:04 -07:00
2009-02-26 23:43:35 -08:00