]> git.karo-electronics.de Git - mv-sheeva.git/commit
mwifiex: pass priv pointer instead of adapter
authorAvinash Patil <patila@marvell.com>
Wed, 25 Jan 2012 04:50:24 +0000 (20:50 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jan 2012 19:57:02 +0000 (14:57 -0500)
commit2690e1bb35e97a3b15f0064e9176cd2ec61c2511
tree5c682419e1fb513c3723f812c97d851226b98fd5
parent10ef6a8f1567739192c29f11375556ce0d53ec74
mwifiex: pass priv pointer instead of adapter

Pass mwifiex_private pointer directly to wmm_add_buf_txqueue()
instead of passing adapter and then deriving priv again in
mwifiex_get_priv_by_id(). This reduces a 'for' loop in TX path.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/main.c
drivers/net/wireless/mwifiex/wmm.c
drivers/net/wireless/mwifiex/wmm.h