brcm80211: fmac: changed two scan related structures
authorRoland Vossen <rvossen@broadcom.com>
Tue, 18 Oct 2011 12:03:03 +0000 (14:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:05 +0000 (15:54 -0500)
commit0527781eb00550226d638b9be23d246c7ba796f6
tree30a8a9d6597236dc7fa012f12f8d0212caa71e3a
parent6f09be0ad534160a1931f0c0f92e18a48bd888f9
brcm80211: fmac: changed two scan related structures

struct brcmf_scan_results contained a 1 element array, but in reality
the number of scan results can be 0 or more, as indicated by the
count field in the same struct. Array has be redefined to be 0 elements
length to indicate the array is purely for reference.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@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/dhd.h