From: Lennert Buytenhek Date: Tue, 12 Jan 2010 12:50:14 +0000 (+0100) Subject: mwl8k: prepare for posting per-vif firmware commands X-Git-Tag: v2.6.34-rc1~233^2~556^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57ca9c1af3c1e30a40ad99d75940176d8c3ff3a;p=pandora-kernel.git mwl8k: prepare for posting per-vif firmware commands One of the bytes in the mwl8k firmware command header is the 'macid' byte, which for per-vif commands indicates which of the BSSes this command is intended for. (For commands that are not per-vif commands, this byte can just be 0.) This patch adds mwl8k_post_pervif_cmd(), which will take the macid assigned to this interface (to be done in ->add_interface()), copy it into the command packet macid field, and post the command as usual. Signed-off-by: Lennert Buytenhek Signed-off-by: John W. Linville --- Reading git-diff-tree failed