mac80211: update to wireless-testing 2015-03-09
[openwrt/staging/rmilecki.git] / package / kernel / mac80211 / patches / 082-backport-list_last_entry.patch
index 4ee9047979f5120f4f9c1a6847c5ff6f3c74834d..7e720e0f7a560ef072d38e56e2e8ea30fe6589c5 100644 (file)
@@ -1,8 +1,8 @@
 --- a/backport-include/linux/list.h
 +++ b/backport-include/linux/list.h
-@@ -73,4 +73,17 @@
-       list_entry((pos)->member.next, typeof(*(pos)), member)
- #endif /* list_next_entry */
+@@ -88,4 +88,17 @@
+       list_entry((ptr)->prev, type, member)
+ #endif
  
 +#ifndef list_last_entry
 +/**