diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_hw.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_hw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index c1f4bb005d9..13d5882f1f2 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c | |||
@@ -3102,7 +3102,9 @@ static void prism2_clear_set_tim_queue(local_info_t *local) | |||
3102 | */ | 3102 | */ |
3103 | static struct lock_class_key hostap_netdev_xmit_lock_key; | 3103 | static struct lock_class_key hostap_netdev_xmit_lock_key; |
3104 | 3104 | ||
3105 | static void prism2_set_lockdep_class_one(struct netdev_queue *txq) | 3105 | static void prism2_set_lockdep_class_one(struct net_device *dev, |
3106 | struct netdev_queue *txq, | ||
3107 | void *_unused) | ||
3106 | { | 3108 | { |
3107 | lockdep_set_class(&txq->_xmit_lock, | 3109 | lockdep_set_class(&txq->_xmit_lock, |
3108 | &hostap_netdev_xmit_lock_key); | 3110 | &hostap_netdev_xmit_lock_key); |
@@ -3110,7 +3112,7 @@ static void prism2_set_lockdep_class_one(struct netdev_queue *txq) | |||
3110 | 3112 | ||
3111 | static void prism2_set_lockdep_class(struct net_device *dev) | 3113 | static void prism2_set_lockdep_class(struct net_device *dev) |
3112 | { | 3114 | { |
3113 | prism2_set_lockdep_class_one(&dev->tx_queue); | 3115 | netdev_for_each_tx_queue(dev, prism2_set_lockdep_class_one, NULL); |
3114 | } | 3116 | } |
3115 | 3117 | ||
3116 | static struct net_device * | 3118 | static struct net_device * |