From: Antonio Quartulli Date: Wed, 19 Jun 2013 11:35:31 +0000 (+0200) Subject: brcm80211: fix null pointer access X-Git-Tag: v3.11-rc1~64^2~166^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a9c4a28b2c1a367d340db53570ebea02f33fca;p=pandora-kernel.git 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 Signed-off-by: Antonio Quartulli Signed-off-by: John W. Linville --- Reading git-diff-tree failed