commit | 16ec75b5de6479637993ad0f7c11a49aae069f68 | [log] [tgz] |
---|---|---|
author | Solomon Peachy <pizza@shaftnet.org> | Fri Jul 19 23:31:27 2013 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jul 22 16:04:08 2013 -0400 |
tree | 7d31d5f55fd34ddd66c63565257b648b7065e38c | |
parent | 4928bd2ef8ece262f4f314630219999a91eaa440 [diff] |
cw1200: Fix OOPS in monitor mode In monitor mode, priv->vif is NULL, but at one point in the receive path we blindly attempt to dereference it. Add a test to prevent this. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>