Search Linux Wireless

[PATCH 0/2] cfg80211: allow drivers to mark certain objects const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is likely that the cfg80211_ops and privid data setup by wireless
drivers will not need to change. Drivers may therefore want to mark
these objects const. This patch ensures that the cfg80211 interface does
not preclude this.

I sent these as part of an RFC titled 'orinoco: initiate cgf80211
conversion'. The core of that patch is being reworked, but there's no
reason these can't go in independently.

Signed-off-by: David Kilroy <kilroyd@xxxxxxxxxxxxxx>
Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
David Kilroy (2):
  cfg80211: mark ops as pointer to const
  cfg80211: mark wiphy->privid as pointer to const

 include/net/cfg80211.h |    4 ++--
 net/wireless/core.c    |    2 +-
 net/wireless/core.h    |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux