mac80211: do not print WARN if config interface
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 20 Apr 2009 22:36:19 +0000 (15:36 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Apr 2009 20:43:32 +0000 (16:43 -0400)
commit7d42081a271bd8a82f2100524085c4f029e47717
tree0c3a78a6d03e01a7e1135be188b10490fa05a410
parent71d449b55abf5018d7c711b2b62abc0c083723c4
mac80211: do not print WARN if config interface

It is expected that config interface will always succeed as mac80211
will only request what driver supports. The exception here is when a
device has rfkill enabled. At this time the rfkill state is unknown to
mac80211 and config interface can fail. When this happens we deal with
this error instead of printing a WARN.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/pm.c