commit | 86a9c4a28b2c1a367d340db53570ebea02f33fca | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <antonio@open-mesh.com> | Wed Jun 19 13:35:31 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 19 15:28:32 2013 -0400 |
tree | aa9580ae7b69616decfc7eb7406e93d048484734 | |
parent | f2bbb07729f04bd8efa3f3285f19ba0609e42017 [diff] |
brcm80211: fix null pointer access Do not unconditionally access the chan variable in brcmf_cfg80211_mgmt_tx() as it may be NULL. Use freq instead. Introduced by c2ff8cad64233b539c71a27e2a6e324001143ef0 ("brcm80211: make mgmt_tx in brcmfmac accept a NULL channel") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>