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> |
||
|---|---|---|
| .. | ||
| bus.h | ||
| cfg80211.c | ||
| cfg80211.h | ||
| commands.c | ||
| commands.h | ||
| debug.h | ||
| debugfs.c | ||
| eeprom.c | ||
| eeprom.h | ||
| fw.c | ||
| fw.h | ||
| hal.c | ||
| hal.h | ||
| iwm.h | ||
| Kconfig | ||
| lmac.h | ||
| main.c | ||
| Makefile | ||
| netdev.c | ||
| rx.c | ||
| rx.h | ||
| sdio.c | ||
| sdio.h | ||
| tx.c | ||
| umac.h | ||
| wext.c | ||