]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: ROC - bug fixes around time events and locking
authorMatti Gottlieb <matti.gottlieb@intel.com>
Mon, 29 Sep 2014 08:46:04 +0000 (11:46 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 23 Oct 2014 18:21:48 +0000 (21:21 +0300)
commitc6e507273671bbaac5ebc8b5e91f6030e6a0527a
tree32489d6a52dbc8ace42ef255d9055b8cf7c5d1de
parent9a10dd42448faa030f0bf218894463852ed4cb4b
iwlwifi: mvm: ROC - bug fixes around time events and locking

Don't add the time event to the list. We added it several
times the same time event, which leads to an infinite loop
when walking the list.

Since we (currently) don't support more than one ROC for STA
vif at a time, enforce this and don't add the time event
to any list.

We were also missing the locking of the mutex which led to
a lockdep splat - fix that.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/time-event.c