brcmfmac: make pointer type constant in brcmf_set_management_ie()
authorArend van Spriel <arend@broadcom.com>
Tue, 6 Nov 2012 00:22:12 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:55:44 +0000 (14:55 -0500)
commit3082b9be89d0dde558f25d4ec65b5cac02a9b916
tree069b3df02346a4e02a239487c5ea3e50f64091e0
parent0ecd8164046fa035c9ea493cd230fdd902e116b1
brcmfmac: make pointer type constant in brcmf_set_management_ie()

The vendor ie buffer passed to brcmf_set_management_ie() is not modified
and the caller always provided a constant buffer, which needed a cast.
Better making the buffer parameter of the function constant so the
casts can be removed.

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