summaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2021-11-14 17:08:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 11:58:44 +0100
commit4e8463c4acfbb03a44efb09b8b30ef45b138a4f9 (patch)
tree9a1b75e57d01f84a4edf72bfbda619c95a9ea4f8 /net/wireless/util.c
parentbd660a20fea3ec60a49709ef5360f145ec0fe779 (diff)
parisc/sticon: fix reverse colors
commit bec05f33ebc1006899c6d3e59a00c58881fe7626 upstream. sticon_build_attr() checked the reverse argument and flipped background and foreground color, but returned the non-reverse value afterwards. Fix this and also add two local variables for foreground and background color to make the code easier to read. Signed-off-by: Sven Schnelle <svens@stackframe.org> Cc: <stable@vger.kernel.org> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions