]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commita6cc5163149532734b84c86cbffa4994e527074b
tree32489d6a52dbc8ace42ef255d9055b8cf7c5d1de
parent79b7a69d730180d8bf535e52fe2b4f3dd5904007
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