From: Hante Meuleman Date: Thu, 30 Aug 2012 08:05:37 +0000 (+0200) Subject: brcmfmac: fix get rssi by clearing getvar struct. X-Git-Tag: v3.6-rc6~18^2~22^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f6c562dfa52425a28933982df7d21edba7e3d71;p=pandora-kernel.git brcmfmac: fix get rssi by clearing getvar struct. The function brcmf_cfg80211_get_station requests the RSSI from the device. The complete structure used needs to be cleared before sending the request to firmware. Otherwise the request fails filling the logs with "Could not get rssi (-2)" messages. Reviewed-by: Arend Van Spriel Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed