From: Stanislaw Gruszka Date: Fri, 8 Mar 2013 13:46:14 +0000 (+0100) Subject: mac80211: move sdata debugfs dir to vif X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~118^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddbfe860acc39d4856a86186eb8a292426ea6224;p=pandora-kernel.git mac80211: move sdata debugfs dir to vif There is need create driver own per interface debugfs files. This is currently done by drv_{add,remove}_interface_debugfs() callbacks. But it is possible that after we remove interface from the driver (i.e. on suspend) we call drv_remove_interface_debugfs() function. Fixing this problem will require to add call drv_{add,remove}_interface_debugfs() anytime we create and remove interface in mac80211. So it's better to add debugfs dir dentry to vif structure to allow to create/remove custom debugfs driver files on drv_{add,remove}_interface(). Signed-off-by: Stanislaw Gruszka Signed-off-by: Johannes Berg --- Reading git-diff-tree failed