From: Johannes Berg Date: Thu, 23 Apr 2009 16:52:52 +0000 (+0200) Subject: mac80211: add driver ops wrappers X-Git-Tag: v2.6.31-rc1~330^2~448^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2448798133d747ad339e57099e32a1d1e68aca1c;p=pandora-kernel.git mac80211: add driver ops wrappers In order to later add tracing or verifications to the driver calls mac80211 makes, this patch adds static inline wrappers for all operations. All calls are now written as drv_(local, ...); instead of local->ops->(&local->hw, ...); Where necessary, the wrappers also do existence checking and return default values as appropriate. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed