rtl8187: Fix locking of private data
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 23 Jan 2009 17:30:11 +0000 (11:30 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:28 +0000 (16:01 -0500)
commit66aafd9a3108da465a73bd755366416e75fb9d3d
tree1ba22f4d3800d7892f46f2e442d366aaa21249d6
parent1fac36ee7d5a0611e1216b02b485b154c8aa6dad
rtl8187: Fix locking of private data

In rtl8187_add_interface(), the mutex that protects the data in struct
rtl8187_priv does not include all references to that structure.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_dev.c