From: Simon Wunderlich Date: Thu, 11 Jul 2013 16:07:46 +0000 (+0200) Subject: mac80211: fix regression when initializing ibss wmm params X-Git-Tag: v3.12-rc1~132^2~297^2^2~56^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ec9c1f67ab1f58b5bf5ac19e4b61b9f75c83a04;p=pandora-kernel.git mac80211: fix regression when initializing ibss wmm params There appear to be two regressions in ibss.c when calling ieee80211_sta_def_wmm_params(): * the second argument should be a rate length, not a rate array. This was introduced by my commit "mac80211: select and adjust bitrates according to channel mode" * the third argument is not initialized (anymore), making further checks within this function useless. Since ieee80211_sta_def_wmm_params() is only used by ibss anyway, remove the function entirely and handle the operating mode decision immediately. Signed-off-by: Simon Wunderlich Signed-off-by: Johannes Berg --- Reading git-diff-tree failed