aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2011-03-29 13:28:11 +0000
committerJohn W. Linville <[email protected]>2011-03-29 19:45:14 +0000
commitffd8c746fbef50cf12df239f9d23c2afe1a2c3cb (patch)
treea7004233c9607eee54fbb7fa4c40d386168a9d74 /drivers/mtd/lpddr/lpddr_cmds.c
parentcarl9170: Fix tx aggregation problems with some clients (diff)
downloadkernel-ffd8c746fbef50cf12df239f9d23c2afe1a2c3cb.tar.gz
kernel-ffd8c746fbef50cf12df239f9d23c2afe1a2c3cb.zip
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: [email protected] [2.6.38+] Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions