diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-03-29 06:29:37 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-08 07:59:53 -0700 |
commit | a2b76b3b31568da9d281a393845f17689594ccdf (patch) | |
tree | 1b9125faf168b6d4fe66c903e2606be331467013 /net/lapb/lapb_subr.c | |
parent | 68b993118f715cc631b62b6a50574e4701fe9ace (diff) |
iwlwifi: 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: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions