rtl8187: Add missing priv->vif assignments
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Wed, 9 Apr 2008 19:38:31 +0000 (16:38 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Apr 2008 18:51:57 +0000 (14:51 -0400)
commitaa979a6acbb468b0ebe8cf36dc782a5b3cc1e28d
tree2b40a3d468bd77c83740121b691404664360f7f0
parent56690c2151d33534f0537fd03c533eda81d96f0f
rtl8187: Add missing priv->vif assignments

This adds missing priv->vif assignments after "mac80211: don't use
interface indices in drivers" change. As rtl8180, rtl8187 also needs
priv->vif to be set, as without this an oops can happen in rtl8187_tx
function (priv->vif is passed to ieee80211_rts_duration).

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Acked-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8187_dev.c