linux/drivers/net/wireless/iwlegacy
Johannes Berg ffd8c746fb 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>
2011-03-29 15:45:14 -04:00
..
iwl3945-base.c iwl3945: disable hw scan by default 2011-03-29 15:45:14 -04:00
iwl4965-base.c
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h
iwl-4965-calib.c
iwl-4965-calib.h
iwl-4965-debugfs.c
iwl-4965-debugfs.h
iwl-4965-eeprom.c
iwl-4965-hw.h
iwl-4965-led.c
iwl-4965-led.h
iwl-4965-lib.c
iwl-4965-rs.c
iwl-4965-rx.c
iwl-4965-sta.c
iwl-4965-tx.c
iwl-4965-ucode.c
iwl-4965.c
iwl-4965.h
iwl-commands.h
iwl-core.c iwlegacy: fix bugs in change_interface 2011-03-29 15:45:14 -04:00
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-legacy-rs.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c
Kconfig
Makefile