Search Linux Wireless

Re: [PATCH] mac80211: silently accept deletion of non-existant key

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

 



On Tue, Mar 25, 2008 at 05:22:05PM +0100, Johannes Berg wrote:
> 
> On Tue, 2008-03-25 at 11:43 -0400, John W. Linville wrote:
> > From: John W. Linville <linville@xxxxxxxxxxxxxxxxxx>
> > 
> > Otherwise, 'iwconfig wlan0 key off' with no key set results in:
> > 
> > 	Error for wireless request "Set Encode" (8B2A) :
> > 	    SET failed on device wlan0 ; No such file or directory.
> 
> And what is the problem with us telling iwconfig that there was no key?
> You should argue for iwconfig ignoring that particular problem, but I
> don't think we should do so in the kernel.

Why is it a problem?  How does it hurt anything?  How is it useful
to return an error?

FWIW, other drivers seem to accept it.  I don't see why we need to
complain.

John
-- 
John W. Linville
linville@xxxxxxxxxxxxx
--
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