compat-wireless: fix patches/09-threaded-irq.patch
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 01:00:04 +0000 (18:00 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 01:00:04 +0000 (18:00 -0700)
I'm tired of seeing this patch fail so I've moved
the struct that we add to the front. Each time the
data structure changes elements are added towards the
end, not the beginning. Hopefully this means we'll
have less required updates on this hunk! Only time
will tell.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/09-threaded-irq.patch

index b65552d5668cbb53a6de0bf437125355661a01b4..143bbffd24d04230a47e1d36c7312461e8375606 100644 (file)
@@ -116,13 +116,14 @@ thread in process context as well.
        return 0;
 --- a/drivers/net/wireless/ti/wlcore/wlcore.h
 +++ b/drivers/net/wireless/ti/wlcore/wlcore.h
-@@ -355,6 +355,9 @@ struct wl1271 {
-       /* RX Data filter rule state - enabled/disabled */
-       bool rx_filter_enabled[WL1271_MAX_RX_FILTERS];
+@@ -141,7 +141,9 @@ struct wl1271_stats {
+ struct wl1271 {
+       struct ieee80211_hw *hw;
+       bool mac80211_registered;
+-
 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
 +      struct compat_threaded_irq irq_compat;
 +#endif
};
      struct device *dev;
  
int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);
      void *if_priv;