From: Arend van Spriel Date: Mon, 22 Oct 2012 17:36:22 +0000 (-0700) Subject: brcmfmac: add function converting ieee80211_channel to chanspec X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~337^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e186166ea0259f7ef9cb2393317126003c13680;p=pandora-kernel.git brcmfmac: add function converting ieee80211_channel to chanspec The firmware carries channel information in a different format as the provided ieee80211_channel structure. Conversion is needed when receiving requests from cfg80211 carrying ieee80211_channel structures. This patch adds a utility function to do that. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: Franky Lin Signed-off-by: John W. Linville --- Reading git-diff-tree failed