]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211.
authorleandro Costantino <lcostantino@gmail.com>
Tue, 17 Feb 2009 16:16:26 +0000 (11:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 20:56:23 +0000 (12:56 -0800)
commit096c55d1de39c0de526dfeb8a68ba3b0200e5a93
tree4d56827dcd1a7188c261408d2a881f58d05a52f3
parent69e09c983e92cc8f4ebb9f145ba3b460f6374558
Staging: rtl8187se: Fix oops and memory poison caused by builtin ieee80211.

when modprobe and removing rtl8187se ( just for testing, i do not have
that card , and oops and a memory poison error happens on the builtin
ieee80211 of that driver.  I dont know if they will port it to the
current ieeee80221 instead of the builtin ones, but just in case i
attach a proposed fix for that problem.

- Change for loop on ieee80211_crypto_deinit for list_for_each_safe to
  remove items. Is there an spinlock needed here?
- Call ieee80211_crypto_deinit after exiting all registerd crypto protocols.

Signed-off-by: Costantino Leandro <lcostantino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c
drivers/staging/rtl8187se/r8180_core.c