]> 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)
commita6a629507907add341d4634c8dbe10d8a97d6c7b
tree32489d6a52dbc8ace42ef255d9055b8cf7c5d1de
parent5542f61f8c9751789c5881f3afcbc284df342f08
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