ieee80211: Print human-readable disassoc/deauth reason codes
authorCalvin Owens <jcalvinowens@gmail.com>
Tue, 11 Feb 2014 18:36:24 +0000 (12:36 -0600)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Feb 2014 10:44:21 +0000 (11:44 +0100)
commitdfa1ad299184abeb8fea170e65727e263ac236a5
tree1f434e96de744f17df2f5546ea3d2bbe40dad8d7
parent1d5e1266cf4d96660e9b01577fdf8046b076cb58
ieee80211: Print human-readable disassoc/deauth reason codes

Create a function to return a descriptive string for each reason code,
and print that in addition to the numeric value in the kernel log. These
codes are easily found on popular search engines, but one is generally
not able to access the internet when dealing with wireless connectivity
issues.

Signed-off-by: Calvin Owens <jcalvinowens@gmail.com>
[use 'unknown' rather than 'invalid' since more valid codes exist]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c