Search Linux Wireless

Re: [PATCH 03/27] qtnfmac: retreive current channel info from EP

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

 



On 08/29/2017 07:42 AM, Sergey Matyukevich wrote:

Typo in commit title: retrieve

will fix


...

-	if (!cfg80211_chandef_valid(&mac->chandef)) {
-		pr_err("invalid channel settings on %s\n", ndev->name);
-		return -ENODATA;
+	if (!cfg80211_chandef_valid(chandef)) {
+		pr_err("%s: bad chan freq1=%u bw=%u\n", ndev->name,
+		       chandef->center_freq1, chandef->width);
+		ret = -ENODATA;
  	}

Lets keep both center_freq1 and center_freq2 in error message.

Ok



Regards,
Sergey





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux