On Sun, 2014-03-30 at 22:35 +0200, Antonio Quartulli wrote: > /** > + * cfg80211_get_station - retrieve information about a given station > + * @dev: the device where the station is supposed to be connected to > + * @mac_addr: the mac address of the station of interest > + * @sinfo: pointer to the structure to fill with the information > + * > + * Returns 0 on success or a negative error code otherwise. > + */ > +int cfg80211_get_station(struct net_device *dev, u8 *mac_addr, > + struct station_info *sinfo); mac_addr should be const Any thoughts about clearing/filling/partially filling *sinfo when returning an error? johannes -- 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