From: Johannes Berg Date: Wed, 16 May 2012 21:50:20 +0000 (+0200) Subject: cfg80211: provide channel to join_mesh function X-Git-Tag: v3.6-rc1~125^2~57^2~366 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc1d2806bf06ab92268343d26eb3d8d8f00f8bc9;p=pandora-kernel.git cfg80211: provide channel to join_mesh function Just like the AP mode patch, instead of setting the channel and then joining the mesh network, provide the channel to join the network on to the join_mesh() function. Like in AP mode, you can also give the channel to the join-mesh nl80211 command now. Unlike AP mode, it picks a default channel if none was given. As libertas uses mesh mode interfaces but has no join_mesh callback and we can't simply break it, keep some compatibility code for that case and configure the channel directly for it. In the non-libertas case, where we store the channel until join, allow setting it while the interface is down. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed