aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-05-31 18:24:34 -0400
committerJohn W. Linville2009-06-03 14:05:12 -0400
commit729e9c7663190d71fe5e29831634df80f38199c1 (patch)
treef04635ca9440538e192789ad3cd3041b9b514764 /include/net
parent3b8bcfd5d31ea0fec58681d035544ace707d2536 (diff)
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions