diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-03-29 17:28:11 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-29 23:45:14 +0400 |
commit | ffd8c746fbef50cf12df239f9d23c2afe1a2c3cb (patch) | |
tree | a7004233c9607eee54fbb7fa4c40d386168a9d74 /include/net/llc_s_ac.h | |
parent | 24047e2c4feb8c126e92cc5bb7a863115c89bd72 (diff) | |
download | linux-ffd8c746fbef50cf12df239f9d23c2afe1a2c3cb.tar.xz |
iwlegacy: fix bugs in change_interface
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.
Cc: stable@kernel.org [2.6.38+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/llc_s_ac.h')
0 files changed, 0 insertions, 0 deletions