summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_sa.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2014-10-21 20:56:42 +0200
committerJohannes Berg <johannes.berg@intel.com>2014-10-30 15:48:32 +0100
commit46238845bd609a5c0fbe076e1b82b4c5b33360b2 (patch)
tree88d2c06f9b2f39884c450f70f03d34684cebde9d /include/rdma/ib_sa.h
parentmac80211: schedule the actual switch of the station before CSA count 0 (diff)
downloadlinux-46238845bd609a5c0fbe076e1b82b4c5b33360b2.tar.xz
linux-46238845bd609a5c0fbe076e1b82b4c5b33360b2.zip
mac80211: properly flush delayed scan work on interface removal
When an interface is deleted, an ongoing hardware scan is canceled and the driver must abort the scan, at the very least reporting completion while the interface is removed. However, if it scheduled the work that might only run after everything is said and done, which leads to cfg80211 warning that the scan isn't reported as finished yet; this is no fault of the driver, it already did, but mac80211 hasn't processed it. To fix this situation, flush the delayed work when the interface being removed is the one that was executing the scan. Cc: stable@vger.kernel.org Reported-by: Sujith Manoharan <sujith@msujith.org> Tested-by: Sujith Manoharan <sujith@msujith.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/rdma/ib_sa.h')
0 files changed, 0 insertions, 0 deletions