Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324778
b: refs/heads/master
c: 879a901
h: refs/heads/master
v: v3
  • Loading branch information
Priit Laes authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 9c0821f commit 0bfa1c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d99c525a0a1e981d89cc8f42b721f5973e684dd
refs/heads/master: 879a901f7eb6271d82da40cfb3c5bc3b6bb5c3fe
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,21 +338,13 @@ uf_alloc_netdevice(CsrSdioFunction *sdio_dev, int bus_id)
interfacePriv->connected = UnifiConnectedUnknown; /* -1 unknown, 0 no, 1 yes */

#ifdef USE_DRIVER_LOCK
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
sema_init(&priv->lock, 1);
#else
init_MUTEX(&priv->lock);
#endif
#endif /* USE_DRIVER_LOCK */

spin_lock_init(&priv->send_signal_lock);

spin_lock_init(&priv->m4_lock);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
sema_init(&priv->ba_mutex, 1);
#else
init_MUTEX(&priv->ba_mutex);
#endif

#if (defined(CSR_WIFI_SECURITY_WAPI_ENABLE) && defined(CSR_WIFI_SECURITY_WAPI_SW_ENCRYPTION))
spin_lock_init(&priv->wapi_lock);
Expand Down

0 comments on commit 0bfa1c1

Please sign in to comment.