]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
brcmfmac: initialize escan function pointer during scheduled scan
authorArend van Spriel <arend@broadcom.com>
Mon, 13 Jan 2014 21:20:28 +0000 (22:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Jan 2014 19:55:41 +0000 (14:55 -0500)
commit2668b0b16cb555abe1b35a1c3cdeb482799fb7cb
tree1dfaa3914ec7fc316dabe03383bee324fffe2cf5
parent9cf218fc333406764275eab9b0e47f5c39929e79
brcmfmac: initialize escan function pointer during scheduled scan

For scheduled scan results the driver does a escan to obtain BSS
details from the firmware. However, the escan uses a dynamically
determined function. This needs to be set appropriately when handling
scheduled scan results to avoid NULL pointer access.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c