Want more features on Pastebin? Sign Up, it's FREE!
Guest

broadcom-wl patch for linux 3.15

By: a guest on Jun 7th, 2014  |  syntax: C  |  size: 0.57 KB  |  views: 493  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- a/src/wl/sys/wl_cfg80211_hybrid.c   2013-08-01 09:52:22.000000000 +0300
  2. +++ b/src/wl/sys/wl_cfg80211_hybrid.c   2014-06-07 22:09:57.198723523 +0300
  3. @@ -1841,7 +1841,11 @@
  4.                         wl_get_assoc_ies(wl);
  5.                         memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
  6.                         wl_update_bss_info(wl);
  7. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
  8. +                       cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, &wl->conf->channel, GFP_KERNEL);
  9. +#else
  10.                         cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
  11. +#endif
  12.                         set_bit(WL_STATUS_CONNECTED, &wl->status);
  13.                         wl->profile->active = true;
  14.                 }
clone this paste RAW Paste Data