Skip to content
Commit ea4eb7fb authored by Bing Zhao's avatar Bing Zhao Committed by John W. Linville
Browse files

mwifiex: declare sta_ptr in smaller scope



sta_ptr is used only in an 'if' branch in this function.
Move it to the smaller scope where it is used.

Reported-by: default avatarPaul Stewart <pstew@chromium.org>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 30fa51c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment