[PATCH] net:wireless:Add proper locking for the function, b43_op_beacon_set_tim in main.c
Rafał Miłecki <[email protected]>
| Newsgroups | org.infradead.lists.b43-dev,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CACna6rzO=7FW3YxWZEDejT++EB2ZfWTSA7Dg-0RcHwKEqn6Z=g@mail.gmail.com> |
On 25 January 2015 at 08:06, Nicholas Krause <[email protected]> wrote: > Adds proper locking for the function, b43_op_beacon_set_tim in main.c that internally calls b43_update_templates. > Due to the function that is being called internally,b43_update_templates needing the mutex lock of the structure > pointer wl passed it to run successfully and without issues we add the calls to mutex_lock before and mutex_unlock > after it's call internally in b43_op_beacon_set_tim in order to allow the function,,b43_update_templates to run > successfully and without issues related to concurrent access. Nack