Search Linux Wireless

Re: [PATCH 1/4] mac80211_hwsim: Debug info for BSS config changes

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

 



> +	printk(KERN_DEBUG "%s:%s(changed=0x%x)\n",
> +	       wiphy_name(hw->wiphy), __func__, changed);

Should we print the wiphy name for each line below too so we can parse
this more easily with some validation tools?


> +	if (changed & BSS_CHANGED_BASIC_RATES) {
> +		printk(KERN_DEBUG "  BASIC_RATES: 0x%llx\n",
> +		       info->basic_rates);

That'll need an (unsigned long long) cast.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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