diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-07-19 23:31:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-07-22 16:04:08 -0400 |
commit | 16ec75b5de6479637993ad0f7c11a49aae069f68 (patch) | |
tree | 7d31d5f55fd34ddd66c63565257b648b7065e38c /lib/net_utils.c | |
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>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions