From: Yogesh Ashok Powar Date: Thu, 12 Jan 2012 04:06:12 +0000 (-0800) Subject: mwifiex: derive priv from net_device instead of wiphy X-Git-Tag: v3.4-rc1~177^2~376^2^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f540f9f34b35d3c8a1d4b8d47ad5f00da951bfe7;p=pandora-kernel.git mwifiex: derive priv from net_device instead of wiphy Currently mwifiex_private pointers are derived from wiphy structures. This will always work as long as there is only one net_device associated with one wiphy. In scenarios where there are multiple net_devices associated with single wiphy, one should use net_device to derive the priv. Signed-off-by: Yogesh Ashok Powar Signed-off-by: Avinash Patil Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed