]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: modify the debug macro to be usable by all the layers
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 26 Aug 2011 06:10:45 +0000 (23:10 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:25:31 +0000 (15:25 -0400)
commit1cb64879c839a43623d5fb9ed37d6d685ae363e9
tree2daeee7563e1fe7168f988cbeef7eb52dc567146
parentebffa03ae9a68a2a7dd809e7f7f6be077f50eb3b
iwlagn: modify the debug macro to be usable by all the layers

Since all the layers need to print debug message, the debug macro cannot suppose
that they will be given iwl_priv as a parameter and then dereference it.
Use iwl_shared instead.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-debug.h
drivers/net/wireless/iwlwifi/iwl-rx.c