diff options
author | Zhu Yi <yi.zhu@intel.com> | 2009-06-15 19:59:49 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-19 15:50:16 (GMT) |
commit | 68810c5dc5f6bbaa0bbf6acce7cb56d97a1c8fd0 (patch) | |
tree | c74e43daa2833b6e9e2b0ddbda5b2e02bb609257 /drivers/rtc/rtc-sun4v.c | |
parent | 4e9aa52e36a7beb4c0163324a3de759d7cf2e442 (diff) | |
download | linux-fsl-qoriq-68810c5dc5f6bbaa0bbf6acce7cb56d97a1c8fd0.tar.xz |
iwmc3200wifi: add a mutex to protect iwm_reset_worker
The patch adds a mutex to protect the iwm_reset_worker against netdev
ndo_open and ndo_stop because all of them call iwm_up and iwm_down in
the implementation. Note the latter two are already protected by
rtnl. So if iwm_reset_worker is not required in the future, the mutex
can also be removed.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/rtc/rtc-sun4v.c')
0 files changed, 0 insertions, 0 deletions