diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-05-10 18:58:00 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-05-25 00:02:17 +0200 |
commit | 1cdd59ce8dcfa850ebb8ac2ab000a2ea572d1d69 (patch) | |
tree | 8b29245415dc01b8e21e978665b56a8c603c5f3e /fs | |
parent | 8d61ffa5e01c5f676431d12caba17db164a48a86 (diff) | |
download | op-kernel-dev-1cdd59ce8dcfa850ebb8ac2ab000a2ea572d1d69.zip op-kernel-dev-1cdd59ce8dcfa850ebb8ac2ab000a2ea572d1d69.tar.gz |
cfg80211: simplify and correct P2P-Device scan check
If the driver for some reason successfully finishes
scanning while in p2p_stop_device(), cfg80211 will
still set it to aborted. Simplify this code using the
new 'notified' value and only mark it aborted in case
the driver didn't notify cfg80211 at all (in which
case we also leak the request to not crash, this is
a driver bug.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions