diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-03-29 06:29:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-03 09:31:45 +0900 |
commit | a46053ab736c81bcfc442f9ca44317d64159dfb3 (patch) | |
tree | 7c9a833467483c86202e59c8eb17f20968747f82 /net | |
parent | 0d6a1cd7121da74a36846dfa1701c37ccee8faac (diff) |
iwlwifi: fix bugs in change_interface
commit a2b76b3b31568da9d281a393845f17689594ccdf upstream.
If change_interface gets invoked during a firmware
restart, it may crash; prevent that from happening
by checking if ctx->vif is assigned.
Additionally, in my initial commit I forgot to set
the vif->p2p variable correctly, so fix that too.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions